On 26 Oct 2006, at 18:25, Sean Walton wrote:

I am having problems with getting Bison to match this:

       Modifier module test {

The rule fragment is:

       module : ANESC_Modifier MODULE id_name

The lexer tokens are:

      ANESC_Modifier = "Modifier"
      MODULE = "module"

I get the error:

      syntax error before `module'

Any ideas?

Are you sure there isn't a lexer problem, or a funny input (like a character looking as space)?

  Hans Aberg




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

Reply via email to