Skip to content

Commit

Permalink
lex: Added return code
Browse files Browse the repository at this point in the history
  • Loading branch information
pbeckingham committed Apr 29, 2018
1 parent cd872ee commit 81fc6f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lex.cpp
Expand Up @@ -15,6 +15,8 @@ int main (int argc, char** argv)
while (l.token (token, type)) while (l.token (token, type))
std::cout << " token '" << token << "' " << Lexer::typeToString (type) << "\n"; std::cout << " token '" << token << "' " << Lexer::typeToString (type) << "\n";
} }

return 0;
} }


//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

0 comments on commit 81fc6f7

Please sign in to comment.