comparison python/ppci/__init__.py @ 191:6b2bec5653f1

Added assembler testset
author Windel Bouwman
date Sun, 26 May 2013 15:28:07 +0200
parents b73bc14a3aa3
children 534b94b40aa8
comparison
equal deleted inserted replaced
190:65dda7e7e8bd 191:6b2bec5653f1
7 # Assert python version: 7 # Assert python version:
8 if sys.version_info.major != 3: 8 if sys.version_info.major != 3:
9 print("Needs to be run in python version 3.x") 9 print("Needs to be run in python version 3.x")
10 sys.exit(1) 10 sys.exit(1)
11 11
12 from .common import SourceLocation, SourceRange 12 from .common import SourceLocation, SourceRange, Token
13 from .errors import CompilerError, DiagnosticsManager 13 from .errors import CompilerError, DiagnosticsManager
14 from .errors import printError 14 from .errors import printError
15 15