diff options
Diffstat (limited to 'test/LEX/LEXCOM.py')
-rw-r--r-- | test/LEX/LEXCOM.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/LEX/LEXCOM.py b/test/LEX/LEXCOM.py index f496f95..5fb82fe 100644 --- a/test/LEX/LEXCOM.py +++ b/test/LEX/LEXCOM.py @@ -41,7 +41,7 @@ import sys outfile = open(sys.argv[1], 'wb') for f in sys.argv[2:]: infile = open(f, 'rb') - for l in filter(lambda l: l != '/*lex*/\\n', infile.readlines()): + for l in [l for l in infile.readlines() if l != '/*lex*/\\n']: outfile.write(l) sys.exit(0) """) |