# HG changeset patch # User Claus Gittinger # Date 1393943640 -3600 # Node ID dff934a0213f7af3a5d941f965814d7372c9c46a # Parent 553dad635f6dbd01308fa84bfe8459de42174b78 update diff -r 553dad635f6d -r dff934a0213f PPLambdaParser.st --- a/PPLambdaParser.st Tue Mar 04 15:33:59 2014 +0100 +++ b/PPLambdaParser.st Tue Mar 04 15:34:00 2014 +0100 @@ -43,11 +43,11 @@ !PPLambdaParser methodsFor:'productions'! abstraction - ^ $\ asParser token trim , variable , $. asParser token trim , expression ==> [ :node | Array with: node second with: node fourth ] + ^ $\ asParser trim , variable , $. asParser trim , expression ==> [ :node | Array with: node second with: node fourth ] ! application - ^ $( asParser token trim , expression , expression , $) asParser token trim ==> [ :node | Array with: node second with: node third ] + ^ $( asParser trim , expression , expression , $) asParser trim ==> [ :node | Array with: node second with: node third ] ! expression @@ -55,19 +55,20 @@ ! variable - ^ (#letter asParser , #word asParser star) token trim ==> [ :token | token value ] + ^ (#letter asParser , #word asParser star) flatten trim ! ! !PPLambdaParser class methodsFor:'documentation'! version - ^ '$Header: /cvs/stx/stx/goodies/petitparser/PPLambdaParser.st,v 1.3 2012-05-04 22:03:02 vrany Exp $' + ^ '$Header: /cvs/stx/stx/goodies/petitparser/PPLambdaParser.st,v 1.4 2014-03-04 14:34:00 cg Exp $' ! version_CVS - ^ '$Header: /cvs/stx/stx/goodies/petitparser/PPLambdaParser.st,v 1.3 2012-05-04 22:03:02 vrany Exp $' + ^ '$Header: /cvs/stx/stx/goodies/petitparser/PPLambdaParser.st,v 1.4 2014-03-04 14:34:00 cg Exp $' ! version_SVN - ^ '§Id: PPLambdaParser.st 4 2010-12-18 17:02:23Z kursjan §' + ^ '$Id: PPLambdaParser.st,v 1.4 2014-03-04 14:34:00 cg Exp $' ! ! +