# HG changeset patch # User Christian Urban # Date 1353699097 0 # Node ID 8f85d1f61663385c9768c450f026e6ba0075f024 # Parent 27469183da75260ea8ac0a754aaa08b3ebee6019 tuned diff -r 27469183da75 -r 8f85d1f61663 while.scala --- a/while.scala Fri Nov 23 19:28:10 2012 +0000 +++ b/while.scala Fri Nov 23 19:31:37 2012 +0000 @@ -10,7 +10,7 @@ val NUM = PLUS(DIGIT) val KEYWORD = ALTS("skip", "while", "do", "if", "then", "else", "true", "false") val SEMI: Rexp = ";" -val OP: Rexp = ALTS(":=", "=", "+", "-", "*", "!=", "<", ">") +val OP: Rexp = ALTS(":=", "=", "-", "+", "*", "!=", "<", ">") val WHITESPACE = PLUS(RANGE(" \n")) val RPAREN: Rexp = ")" val LPAREN: Rexp = "("