Loops are local to functions
authorLars Knoll <lars.knoll@digia.com>
Wed, 23 Jan 2013 20:00:38 +0000 (21:00 +0100)
committerSimon Hausmann <simon.hausmann@digia.com>
Wed, 23 Jan 2013 21:29:32 +0000 (22:29 +0100)
commit3a8d7f6123589adbb3170f5bf61ed5f0eab3bb9e
tree1c9e474cc31ddb2fd4ff9b24506b93c3dc0a4f2d
parentde0d7f657cdd82ed2ffd1b8d5f23b17b544b0144
Loops are local to functions

Loops need to be reset when parsing an inner function,
as labels can't cross these boundaries.
Also throw a syntax error when a continue statement
outside a loop is encountered.

Change-Id: I69484a2f7a550590194e82667bc4c66aba89ae43
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
qv4codegen.cpp
tests/TestExpectations