[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem wih yacc/lex
From: |
Hans Aberg |
Subject: |
Re: Problem wih yacc/lex |
Date: |
Thu, 04 Nov 2004 20:08:51 +0100 |
User-agent: |
Microsoft-Outlook-Express-Macintosh-Edition/5.0.6 |
This is the Help-Bison list, and not a list for help with Yacc or Lex.
Though Bison attempts to be POSIX compatible with Yacc, it is a different
program. Since you seem to have a lexer problem, you might try the Help-Flex
list:
List-Archive: <http://lists.gnu.org/pipermail/help-flex>
List-Post: <mailto:address@hidden>
List-Help: <mailto:address@hidden>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/help-flex>,
<mailto:address@hidden>
But Flex is a different program than Lex, and your info about your problem
is very sparse, so you may not get any replies there. You may though try
patterns as
[_[:alpha:]][_[:alnum:]]*
On 2004/11/04 04:10, Duhra, SARAB Singh at address@hidden wrote:
> Hi,
> I have a problem with yacc.
>
> When I add the following rule to the lex file, yacc fails.
>
> The rule is to parse variable names of the pattern
> [_a-zA-Z][_a-zA-Z0-9]*
>
> Regards
> -sarab
>
>
>
> _______________________________________________
> address@hidden http://lists.gnu.org/mailman/listinfo/help-bison