diff options
Diffstat (limited to 'mesonbuild/mparser.py')
-rw-r--r-- | mesonbuild/mparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mparser.py b/mesonbuild/mparser.py index 0995ee8..36590ce 100644 --- a/mesonbuild/mparser.py +++ b/mesonbuild/mparser.py @@ -175,7 +175,7 @@ class Lexer: span_end = loc bytespan = (span_start, span_end) match_text = mo.group() - if tid == 'ignore' or tid == 'comment': + if tid in {'ignore', 'comment'}: break elif tid == 'lparen': par_count += 1 |