On 1 Feb 2006, at 10:54, Daniel Wasserhaus wrote:

Is it possible to build an one-pass parser with bison??

This is what the Bison generated parser normally does, passing through the input tokens fed to it each once.

Or....is it possible to make its parser jump (discard) from a '{' to another
'}' without executing the sentences that are into those brackets??

The normal thing is to let the lexer (say generated by Flex) do such exclusions. It is common to do this with comments. These are then not fed to the parser at all, or perhaps as a single token of some post- processing is needed.

  Hans Aberg




_______________________________________________
[email protected] http://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to