remoo69 / Sheesh-Compiler

Compiler for the Programming Language: Sheesh#
2 stars 0 forks source link

symbol repetition #3

Closed jldav1d closed 10 months ago

jldav1d commented 11 months ago

ISSUE: code bug when detecting negative values for whole literal

whole num= (-20)#

will output a lexeme table of LEXEME TOKEN
whole Keyword
num Identifier
= Operator
(-20) Whole
( Symbol
) Symbol
# Symbol

( and ) is repeated

remoo69 commented 10 months ago

fixed with re.escape