bug-bison
[Top][All Lists]
Advanced

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

Re: comment about locations in data/yacc.c


From: Hans Aberg
Subject: Re: comment about locations in data/yacc.c
Date: Thu, 10 Jan 2008 20:40:58 +0100

On 9 Jan 2008, at 21:42, Claudio Saavedra wrote:

This may be nitpicking, but I suppose it's better to ask it, anyway:

In data/yacc.c:1021:

  /* Three stacks and their tools:
     `yyss': related to states,
     `yyvs': related to semantic values,
     `yyls': related to locations.

 ...

Shouldn't the comment about the locations stack be conditional to the
usage of locations (just as the declaration of the stack itself is)?

Would a patch to make it conditional be considered, or it doesn't worth
the effort?

Or
    /* Three stacks and their tools:
     `yyss': related to states,
     `yyvs': related to semantic values,
     `yyls': related to locations (optional).
  ...

  Hans Aberg






reply via email to

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