tuned
authorChristian Urban <christian dot urban at kcl dot ac dot uk>
Fri, 23 Nov 2012 19:31:37 +0000
changeset 74 8f85d1f61663
parent 73 27469183da75
child 75 898c25a4e399
tuned
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 = "("