John, Can you please post the grammar + input showing the problem. Guessing that if a :discard rule eating space is not doing it, you can have a token that begins with nothing [^\s\S] or newline followed by IF, and a pause before that will remove the newline *if* you need to do so.
Jean-Damien. Le lundi 15 décembre 2014 17:24:38 UTC+1, John Alvord a écrit : > > In my syntax checker, a proper form starts off > > *IF > > Whitespace is discarded. > > In the data from customers, I found a case where the first character was a > blank... and that triggered incorrect processing later. > > Is there a way to code that in the rules, or must I add a pre-syntax check > logic. > > John Alvord > -- You received this message because you are subscribed to the Google Groups "marpa parser" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
