]> git.saurik.com Git - bison.git/commit - src/uniqstr.c
Minor code cleanup.
authorJoel E. Denny <jdenny@clemson.edu>
Thu, 8 Oct 2009 03:09:43 +0000 (23:09 -0400)
committerJoel E. Denny <jdenny@clemson.edu>
Thu, 8 Oct 2009 05:54:31 +0000 (01:54 -0400)
commit0ab402b48b747a32f5119d2e23b5546254da33a9
tree6c078a898e53ec394a51c53357a3bfd9318d6366
parent42ec0ae176c4c75b9b29d7e01b4e543c54cdfa5e
Minor code cleanup.

* src/muscle_tab.c (MUSCLE_USER_NAME_CONVERT): Remove macro and
replace all uses with UNIQSTR_CONCAT.
* src/uniqstr.c (uniqstr_vsprintf): New function.
* src/uniqstr.h (uniqstr_vsprintf): Add prototype.
(UNIQSTR_CONCAT, UNIQSTR_GEN_FORMAT, UNIQSTR_GEN_FORMAT_): New
macros.
(cherry picked from commit 10659d0ec997368fe57712a7c564795c530ba0c2)

Conflicts:

src/muscle_tab.c
ChangeLog
src/muscle_tab.c
src/uniqstr.c
src/uniqstr.h