[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/3] grammar: preserve token declaration order
From: |
Akim Demaille |
Subject: |
Re: [PATCH 1/3] grammar: preserve token declaration order |
Date: |
Sun, 27 Jan 2013 10:38:55 +0100 |
Le 25 janv. 2013 à 11:12, Valentin Tolmer <address@hidden> a écrit :
> In a declaration %token A B, the token A is declared before B, but in %left
> A B (or with %precedence or %nonassoc or %right), the token B was declared
> before A (tokens were declared in reverse order).
>
> * src/symlist.h, src/symlist.c (symbol_list_append): New.
> * src/parse-gram.y: Use it instead of symbol_list_prepend.
> * tests/input.at: Adjust expectations.
Thanks, installed!
Please, note that you had trailing spaces in NEWS, and that you
left symbol_list_prepend which is now useless. Please, submit
a patch for its removal.