]> git.saurik.com Git - bison.git/commit - src/uniqstr.c
variant: produce stable results
authorAkim Demaille <akim@lrde.epita.fr>
Sat, 22 Dec 2012 09:16:49 +0000 (10:16 +0100)
committerAkim Demaille <akim@lrde.epita.fr>
Sun, 23 Dec 2012 09:23:32 +0000 (10:23 +0100)
commit55439a1cea2206bde793cbe1a8a0091207cc02dd
tree3a1510d6fae4e3cb24b6a1f09939b5fbce335976
parente38106582fbad4036a47cfe62d6638f8bd1e6189
variant: produce stable results

Improve the output by ensuring a well defined order for type switches.

* src/uniqstr.h: Style changes for macro arguments.
(UNIQSTR_CMP): Replace by...
(uniqstr_cmp): this.
* src/uniqstr.c (uniqstr_cmp): New.
Produce well defined results.
* src/output.c: Use it.
src/output.c
src/uniqstr.c
src/uniqstr.h