Prevent ELIF or ELSE after an ELSE

Fixes #749
This commit is contained in:
Rangi
2021-02-24 21:19:08 -05:00
committed by Eldred Habert
parent dd892d61d8
commit d4028fff10
12 changed files with 163 additions and 45 deletions

View File

@@ -0,0 +1,18 @@
if 0
println "zero"
else
println "one"
if 1
println "A"
else
println "B"
elif 2
println "C"
else
println "D"
endc
elif 2
println "two"
else
println "three"
endc