+ warning overwrite

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

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", ';']