aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/cmake2meson.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cmake2meson.py b/tools/cmake2meson.py
index a99ea50..db405f7 100755
--- a/tools/cmake2meson.py
+++ b/tools/cmake2meson.py
@@ -36,7 +36,7 @@ class Lexer:
('ignore', re.compile(r'[ \t]')),
('string', re.compile(r'"([^\\]|(\\.))*?"', re.M)),
('varexp', re.compile(r'\${[-_0-9a-z/A-Z.]+}')),
- ('id', re.compile('''[,-><${}=+_0-9a-z/A-Z@.*]+''')),
+ ('id', re.compile('''[,-><${}=+_0-9a-z/A-Z|@.*]+''')),
('eol', re.compile(r'\n')),
('comment', re.compile(r'\#.*')),
('lparen', re.compile(r'\(')),