diff --git a/configure.ac b/configure.ac index f97f196..544803b 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ AC_PREREQ(2.50) -AC_INIT(nova, 0.3.0, srihari.vishnu@gmail.com) +AC_INIT(nova, 0.3.1, srihari.vishnu@gmail.com) # Define where autogenerated build files such as 'missing' # should be located. This is also the location of any additional diff --git a/examples/test.nov b/examples/fibonacci.nov similarity index 100% rename from examples/test.nov rename to examples/fibonacci.nov diff --git a/nova-0.3.0.tar.gz b/nova-0.3.0.tar.gz deleted file mode 100644 index d5dd401..0000000 Binary files a/nova-0.3.0.tar.gz and /dev/null differ diff --git a/nova-0.3.1.tar.gz b/nova-0.3.1.tar.gz new file mode 100644 index 0000000..ea8bc43 Binary files /dev/null and b/nova-0.3.1.tar.gz differ diff --git a/src/Parser.cpp b/src/Parser.cpp index a4124cd..79bc24d 100644 --- a/src/Parser.cpp +++ b/src/Parser.cpp @@ -278,11 +278,15 @@ shared_ptr Parser::parseStatement() { case Token::Type::CONTINUE: { consume(); stmt = make_shared(); + ENSURE_END + consume(); break; } case Token::Type::BREAK: { consume(); stmt = make_shared(); + ENSURE_END + consume(); break; } case Token::Type::WHILE: {