]> git.mxchange.org Git - simgear.git/commit
Fix for #587, crash on break/continue.
authorJames Turner <zakalawe@mac.com>
Tue, 23 Jul 2013 20:58:38 +0000 (21:58 +0100)
committerJames Turner <zakalawe@mac.com>
Tue, 23 Jul 2013 20:58:38 +0000 (21:58 +0100)
commita2e25e7940d2061c0a9298f4ef8347c6f174d42d
tree723b48ec003fee2b923ba0a3ce10a1d2ed32fdaa
parentd45a0161cf0920d307ebf48cdfb68a7ca90ad193
Fix for #587, crash on break/continue.

Look for use of break/continue outside of a loop context,
and report a parser error instead of crashed. Thanks to
Philosopher for the patch.
simgear/nasal/codegen.c