Closed watermarkhu closed 2 months ago
Fixes #45 Fixes #47 Fixes #52 Fixes #64
Switch statements are syntactically the same as if/elseif/else.
switch
if
case
elseif
otherwise
else
end
This PR copies the implementation from #82 and replaces the tokens with the ones for switch.
Thanks for making these changes!
Fixes #45 Fixes #47 Fixes #52 Fixes #64
Switch statements are syntactically the same as if/elseif/else.
switch
keywordif
keywordcase
keywordelseif
keywordotherwise
keywordelse
keywordend
keywordend
keywordThis PR copies the implementation from #82 and replaces the tokens with the ones for switch.