Checkin from browser
authorJan Vrany <jan.vrany@fit.cvut.cz>
Sat, 05 May 2012 00:03:26 +0200
changeset 31 38fde57e4ea0
parent 30 6d6315787d46
child 32 25e88bf6d8f1
Checkin from browser
PPArithmeticParser.st
--- a/PPArithmeticParser.st	Sat May 05 00:03:13 2012 +0200
+++ b/PPArithmeticParser.st	Sat May 05 00:03:26 2012 +0200
@@ -18,7 +18,7 @@
 !PPArithmeticParser methodsFor:'grammar'!
 
 addition
-	^ (factors separatedBy: ($+ asParser / $- asParser) token trim)
+	^ (factors separatedBy: ($+ asParser / $- asParser) token trim) 
 		foldLeft: [ :a :op :b | a perform: op value asSymbol with: b ]
 !
 
@@ -53,6 +53,14 @@
 
 !PPArithmeticParser class methodsFor:'documentation'!
 
+version
+    ^ '$Header: /cvs/stx/stx/goodies/petitparser/PPArithmeticParser.st,v 1.3 2012-05-04 22:03:26 vrany Exp $'
+!
+
+version_CVS
+    ^ '$Header: /cvs/stx/stx/goodies/petitparser/PPArithmeticParser.st,v 1.3 2012-05-04 22:03:26 vrany Exp $'
+!
+
 version_SVN
-    ^ '$Id: PPArithmeticParser.st,v 1.2 2012-01-13 11:22:50 cg Exp $'
+    ^ '§Id: PPArithmeticParser.st 4 2010-12-18 17:02:23Z kursjan §'
 ! !