remoo69 / Compiler-Sheesh

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

syntax error when initializing a sequence dec #41

Closed jldav1d closed 2 weeks ago

jldav1d commented 4 weeks ago

From New Test Cases

Expected: No Syntax Errors

Code:

sheesh(){
    whole w[3] = {1,1,1}#
    text t[3] = {"first","second","third"}#
    dec d[3] = {1.0, 2.0, 3.0}#
    sus s[3] = {cap, nocap, cap}#
}

Error Message: Line 2, Token 6: Unexpected "=" [=], expected -> ['#', ',', '[']

remoo69 commented 2 weeks ago

dahil yan sa onedim sa mga vardec_tail

remoo69 commented 2 weeks ago

image