help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bison help


From: Hans Aberg
Subject: Re: bison help
Date: Fri, 12 Jul 2002 23:18:25 +0200

At 18:41 +0000 2002/07/12, Fred 24 wrote:
>I have trouble with the \n. When a \n occurs between rules, bison return an
>error. What can I do for the \n to be valid between rules ???

Bisn parser only parses the tokens as handed over by the lexer, so your
problem is alexer problems. If you use Flex, white-space can be removed by
a rule
%%
[[:space:]]+     { /* Skip white-space. */ }

For more info see rge Flex manual, and the
  Help-flex mailing list
  address@hidden
  http://mail.gnu.org/mailman/listinfo/help-flex

  Hans Aberg





reply via email to

[Prev in Thread] Current Thread [Next in Thread]