diff options
-rw-r--r-- | dependencies.py | 2 | ||||
-rw-r--r-- | mparser.py | 12 |
2 files changed, 0 insertions, 14 deletions
diff --git a/dependencies.py b/dependencies.py index 3e3f877..4720a73 100644 --- a/dependencies.py +++ b/dependencies.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python3 - # Copyright 2013-2014 The Meson development team # Licensed under the Apache License, Version 2.0 (the "License"); @@ -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) - |