Skip to content

Commit 2384257

Browse files
committed
fix compile crash
1 parent b4f5ce8 commit 2384257

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

toontown/compiler/compile.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@
1717

1818
lexer = lex.lex(optimize=0)
1919

20+
class DNAError(Exception):
21+
pass
22+
23+
import builtins
24+
builtins.DNAError = DNAError
25+
2026
def loadDNAFile(dnaStore, filename):
2127
root = DNARoot.DNARoot(name='root', dnaStore=dnaStore)
2228
with open(filename, 'r') as f:

ver

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1.0
1+
1.1.0b

0 commit comments

Comments
 (0)