Finished parser and changed actions in lexer.