1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2025-04-21 12:27:27 +03:00

b2/: handle attempts to break/continue (in substitutions) without a block

This commit is contained in:
Werner Almesberger
2012-06-03 20:54:08 -03:00
parent e56a71e914
commit ddbf80b542
2 changed files with 13 additions and 0 deletions

View File

@@ -126,4 +126,15 @@ expect <<EOF
s:8: cannot find "z"
EOF
#------------------------------------------------------------------------------
tst_fail "substitutions: continue without block" -q <<EOF
!-s
continue
EOF
expect <<EOF
s:2: jump without block
EOF
###############################################################################