File: error_short_if_with_endif.yab

package info (click to toggle)
yabasic 1%3A2.91.1-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 4,168 kB
  • sloc: ansic: 12,434; sh: 4,417; makefile: 21
file content (7 lines) | stat: -rwxr-xr-x 300 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
#expect#---Error in error_short_if_with_endif.yab, line 7:
#expect#---Error: short if-statement (i.e. without 'then') does not allow 'endif'
#expect#   if (2>1) x=1:endif
#expect#                ^~~~~
#expect#---Error: Couldn't parse program
#expect#---Error: Program not executed
if (2>1) x=1:endif