diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-10-01 14:46:41 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-10-01 14:46:41 +0900 |
commit | b013d579858db2c0cc3ed1ab95afbea1f4c77cc4 (patch) | |
tree | a0619322d9cb951f7e45b653c488e7fe2fc90a97 /output.c | |
parent | f39f46f090221e313e240a086e8a43ed973bb03e (diff) | |
download | byacc-b013d579858db2c0cc3ed1ab95afbea1f4c77cc4.tar.gz byacc-b013d579858db2c0cc3ed1ab95afbea1f4c77cc4.tar.bz2 byacc-b013d579858db2c0cc3ed1ab95afbea1f4c77cc4.zip |
Imported Upstream version 20111219upstream/20111219
Diffstat (limited to 'output.c')
-rw-r--r-- | output.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: output.c,v 1.41 2011/09/08 09:25:40 tom Exp $ */ +/* $Id: output.c,v 1.42 2011/12/20 01:38:18 tom Exp $ */ #include "defs.h" @@ -827,7 +827,7 @@ output_defines(FILE * fp) for (i = 2; i < ntokens; ++i) { s = symbol_name[i]; - if (is_C_identifier(s)) + if (is_C_identifier(s) && (!sflag || *s != '"')) { fprintf(fp, "#define "); c = *s; |