help-bison
[Top][All Lists]
Advanced

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

Re: Bison lex matching error


From: Hans Aberg
Subject: Re: Bison lex matching error
Date: Thu, 26 Oct 2006 23:51:47 +0200


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






reply via email to

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