diff -r e1b11f74e142 -r 90de244a7fa2 PPArithmeticParser.st --- a/PPArithmeticParser.st Mon Sep 12 19:48:53 2011 +0200 +++ b/PPArithmeticParser.st Fri Jan 13 12:22:50 2012 +0100 @@ -1,4 +1,4 @@ -"{ Package: 'squeak:petitparser' }" +"{ Package: 'stx:goodies/petitparser' }" PPCompositeParser subclass:#PPArithmeticParser instanceVariableNames:'terms addition factors multiplication power primary parentheses @@ -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 ] ! @@ -54,5 +54,5 @@ !PPArithmeticParser class methodsFor:'documentation'! version_SVN - ^ '$Id: PPArithmeticParser.st,v 1.1 2011-08-18 18:56:17 cg Exp $' + ^ '$Id: PPArithmeticParser.st,v 1.2 2012-01-13 11:22:50 cg Exp $' ! !