help-bison
[Top][All Lists]
Advanced

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

Bison lex matching error


From: Sean Walton
Subject: Bison lex matching error
Date: Thu, 26 Oct 2006 10:25:45 -0600
User-agent: Mozilla Thunderbird 1.0.7 (X11/20050923)

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?

-Sean




reply via email to

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