b2/: make the match name after "break" and "continue" optional

If the name is omitted, we jump back / out of the current block.
This commit is contained in:
Werner Almesberger committed 2012-05-22 15:47:02 -03:00
1 parent 107280b6d5
commit 694d48b56a
3 files changed
+7 -1

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ BAR=x /* BAR= wouldn't be syntactically correct. We need a non-empty value */
FOO=(*)(?) {
BAR=$BAR$2
FOO=$1
continue FOO
continue
}
BAR=x(*) { $=$1 } /* remove the "x" */