diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2015-01-25 02:43:59 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2015-01-25 02:43:59 +0200 |
commit | 4293a2ac65e2900333dca7cf4296d05adb631560 (patch) | |
tree | 18b8ce7e469ea823797e4333494f92ffea64bbbd /mparser.py | |
parent | ed160fbbe4def47d47f99285e8fd8c412470dae9 (diff) | |
download | meson-4293a2ac65e2900333dca7cf4296d05adb631560.zip meson-4293a2ac65e2900333dca7cf4296d05adb631560.tar.gz meson-4293a2ac65e2900333dca7cf4296d05adb631560.tar.bz2 |
Removed shebang lines from files that are not executable.
Diffstat (limited to 'mparser.py')
-rw-r--r-- | mparser.py | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -1,5 +1,3 @@ -#!/usr/bin/python3 - # Copyright 2014 The Meson development team # Licensed under the Apache License, Version 2.0 (the "License"); @@ -516,13 +514,3 @@ class Parser: block.lines.append(curline) cond = self.accept('eol') return block - -if __name__ == '__main__': - for code in sys.argv[1:]: - parser = Parser(open(code).read()) - try: - print(code) - parser.parse() - except ParseException as e: - print('Error', e.text, 'line', e.lineno, 'column', e.colno) - |