summaryrefslogtreecommitdiff
path: root/projects/hackc/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'projects/hackc/utils.py')
-rw-r--r--projects/hackc/utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/projects/hackc/utils.py b/projects/hackc/utils.py
index 4861088..4b9c9f0 100644
--- a/projects/hackc/utils.py
+++ b/projects/hackc/utils.py
@@ -7,6 +7,8 @@ EXIT_CODE_SYNTAX_ERROR = 4
# vim autoindent misbehaves if I type these verbatim in strings
LEFT_BRACE = "{"
RIGHT_BRACE = "}"
+LEFT_PAREN = "("
+RIGHT_PAREN = ")"
class JackSyntaxError(Exception):
def __init__(self, msg, token):