From c8342b794bbfeda64362e31c711b14137fccf186 Mon Sep 17 00:00:00 2001 From: "Michael Hirsch, Ph.D" Date: Wed, 13 Mar 2019 22:32:38 -0400 Subject: [PATCH] no \b for no-gap non-stantard submodule declaration --- mesonbuild/backend/ninjabackend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py index f6b98ec2a..3170b6ba3 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*submodule\s*\((\w+:?\w+)\)\s*(\w+)\s*$", re.IGNORECASE) module_files = {} submodule_files = {} for s in target.get_sources():