diff options
author | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2019-03-13 22:26:12 -0400 |
---|---|---|
committer | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2019-03-25 08:28:33 -0400 |
commit | 41edb6d68f9c9f023086517932e99d91bda24869 (patch) | |
tree | aa881212fc6b840d7cb4e4b6811c1b7b9bacea44 /mesonbuild/backend/ninjabackend.py | |
parent | df74f8b7a9b86fe27ccd10cebf02034ec530851a (diff) | |
download | meson-41edb6d68f9c9f023086517932e99d91bda24869.zip meson-41edb6d68f9c9f023086517932e99d91bda24869.tar.gz meson-41edb6d68f9c9f023086517932e99d91bda24869.tar.bz2 |
tolerate no-space submodule (non-standard syntax)
Diffstat (limited to 'mesonbuild/backend/ninjabackend.py')
-rw-r--r-- | mesonbuild/backend/ninjabackend.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py index 58ce718..f6b98ec 100644 --- a/mesonbuild/backend/ninjabackend.py +++ b/mesonbuild/backend/ninjabackend.py @@ -1822,7 +1822,7 @@ rule FORTRAN_DEP_HACK%s return modre = re.compile(r"\s*\bmodule\b\s+(\w+)\s*$", re.IGNORECASE) - submodre = re.compile(r"\s*\bsubmodule\b\s+\((\w+:?\w+)\)\s+(\w+)\s*$", re.IGNORECASE) + submodre = re.compile(r"\s*\bsubmodule\b\s*\((\w+:?\w+)\)\s*(\w+)\s*$", re.IGNORECASE) module_files = {} submodule_files = {} for s in target.get_sources(): |