Skip to content

Commit

Permalink
Patches for v0.3.1
Browse files Browse the repository at this point in the history
patches for return break + rename example
  • Loading branch information
sriharivishnu committed Oct 10, 2020
2 parents fa398ba + 10f25e8 commit 4f4900d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -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
Expand Down
File renamed without changes.
Binary file removed nova-0.3.0.tar.gz
Binary file not shown.
Binary file added nova-0.3.1.tar.gz
Binary file not shown.
4 changes: 4 additions & 0 deletions src/Parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -278,11 +278,15 @@ shared_ptr<statement> Parser::parseStatement() {
case Token::Type::CONTINUE: {
consume();
stmt = make_shared<continue_statement>();
ENSURE_END
consume();
break;
}
case Token::Type::BREAK: {
consume();
stmt = make_shared<break_statement>();
ENSURE_END
consume();
break;
}
case Token::Type::WHILE: {
Expand Down

0 comments on commit 4f4900d

Please sign in to comment.