On 3/28/12, Andrej Mitrovic <[email protected]> wrote: > On 3/28/12, Andrej Mitrovic <[email protected]> wrote: >> On 3/27/12, Philippe Sigaud <[email protected]> wrote: >>> snip >> >> Philippe your example on this wiki page doesn't seem to work: >> https://github.com/PhilippeSigaud/Pegged/wiki/ > > Actually it seems to work if I remove all the spaces from the input > string. Maybe the grammar is just missing another rule that allows > spaces?
Okay I got it, you've recently changed some code. I can see it mentioned in the readme: By default, the grammars do not silently consume spaces, as this is the standard behavior for PEGs. There is an opt-out though, with the simple `<` arrow instead of `<-` (you can see it in the previous example) So yeah, if I change to '<' it works. :)
