remoo69 / Compiler-Sheesh

Compiler for the self-developed language Sheesh#.
MIT License
2 stars 1 forks source link

Newlines or comment before sheesh() #33

Closed jldav1d closed 1 month ago

jldav1d commented 1 month ago

Not sure if ano dapat expected result for having a newline before sheesh, but tingin ko dapat valid naman

Code: 1.)

- newline
- newline
sheesh(){
    whole x = 10#
}

2.)

//newline
sheesh(){
    whole x = 10#
}

For this dapat walang error Error Message: Syntax Error: Line 1, Token 2: Unexpected "EOL" [Newline], expected -> ['text', 'sus', 'use', 'dec', 'based', 'sheesh', 'whole', 'charr', 'def']

jldav1d commented 1 month ago

same pala to sa dalawang issues ni greg

remoo69 commented 1 month ago

issue solved