[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Question about GLR parsing with bison 2.3
From: |
Pierre PICARD |
Subject: |
Question about GLR parsing with bison 2.3 |
Date: |
Mon, 2 Jun 2008 11:35:30 +0000 (GMT) |
I have a problem using bison 2.3, I read the documentation, but I did not found
what I was searching for.
Here is my problem :
I'am writing a GLR parser, and I would like to do a semantic check in a
semantic action that would have the following behavior if the check fails :
- while a deterministic analysis (with only 1 stack) : display a syntax error.
- while an analysis with multiple stacks : simply kills the current stack.
I would prefer to do that in a semantic action instead of during the semantic
analysis, is it possible ?
Thanks for your answers.
__________________________________________________
Do You Yahoo!?
En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible
contre les messages non sollicités
http://mail.yahoo.fr Yahoo! Mail
- Question about GLR parsing with bison 2.3,
Pierre PICARD <=