[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: comment about locations in data/yacc.c
From: |
Claudio Saavedra |
Subject: |
Re: comment about locations in data/yacc.c |
Date: |
Fri, 11 Jan 2008 16:14:06 -0300 |
El jue, 10-01-2008 a las 20:40 +0100, Hans Aberg escribió:
>
>
> Or
> /* Three stacks and their tools:
> `yyss': related to states,
> `yyvs': related to semantic values,
> `yyls': related to locations (optional).
The problem with that approach is the same than with the previous one.
When inspecting the generated parser, you don't find that yyls stack at
all. Noting that it's optional doesn't necessarily makes the fact that
it wasn't generated more obvious.
I had in mind exactly what Paul committed.
Claudio
--
Claudio Saavedra <address@hidden>