]> git.saurik.com Git - bison.git/commit
obstack_quote: escape and quote for M4
authorAkim Demaille <akim@lrde.epita.fr>
Thu, 26 Jul 2012 10:12:38 +0000 (12:12 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Thu, 26 Jul 2012 12:20:18 +0000 (14:20 +0200)
commit0601c3bf0f4dda2617ff90a3d419a4e0e387c0b1
treed289ae383e0a3797c090f976f96987caa671822b
parenteea7239a23c96a1b6a8c2811044c7379da2d6a5f
obstack_quote: escape and quote for M4

* src/system.h (obstack_quote): New.
* src/muscle-tab.c: Use it instead of obstack_escape where applicable.
* src/scan-code.l: Since obstack_quote supports NULL, leave type_name
as NULL instead of defaulting to "".
src/muscle-tab.c
src/scan-code.l
src/system.h