remoo69 / Compiler-Sheesh

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

Issue with multiple based declaration #40

Closed jldav1d closed 2 weeks ago

jldav1d commented 4 weeks ago

From New Test Cases

Expected: No Error

Code:

based whole x = 10#
based text y = "hello"#
based sus k = cap#
based charr text l = 'A'#
based dec z = 1.0#

sheesh(){
    yeet x#
}

Error Message: Line 2, Token 1: Unexpected "based" [based], expected -> ['def', 'sheesh']

remoo69 commented 2 weeks ago

image

may kulang lang na 1 line, di naeend yung const dec kaya error