+ warning overwrite

This commit is contained in:
oleting committed 2020-12-27 19:47:20 +01:00
1 parent 7f7c210c64
commit 6bc6e63fd8
5 files changed
+41 -22

No files matched your search

+1 -9
View File
@@ -3,17 +3,9 @@ from os import remove
import re
from typing import Callable, List, Tuple
from errors.custom import InterpreterError, JavaSyntaxError, ScopeNotFoundException
from draw.Iinstruction import *
class InterpreterError(Exception):
pass
class JavaSyntaxError(Exception):
pass
class ScopeNotFoundException(Exception):
pass
COMMENT_REGEX = r"""^//|^#|^COMMENT|^--"""
REMOVE_KEYWORDS = [' ', "public", "private", "void", ';']