# See the License for the specific language governing permissions and
# limitations under the License.
importre
importos,re
from.mesonlibimportMesonException
from.importmlog
@ -368,7 +368,7 @@ class ArgumentNode:
defset_kwarg(self,name,value):
ifnameinself.kwargs:
mlog.warning('Keyword argument "%s" defined multiple times. This will be a an error in future Meson releases.'%name)
mlog.warning('Keyword argument "%s" defined multiple times in file %s, line %d. This will be an error in future Meson releases.'%(name,os.path.join(self.subdir,'meson.build'),self.lineno))