Lexer should match longest token possible - for example, in the attached program, "ord" should be matched instead of "or".
Log in to post a comment.