[Bug other/25982] writer written by write_writer doesn't quote where necessary
amylaar at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Jan 27 16:17:00 GMT 2006
------- Comment #1 from amylaar at gcc dot gnu dot org 2006-01-27 16:17 -------
Fixed by:
r110275 | zack | 2006-01-26 21:21:42 +0000 (Thu, 26 Jan 2006) | 11 lines
* genconditions.c (write_header): In generated code, #ifdef out
all includes and fake declarations, except includes of bconfig.h
and system.h, unless GCC_VERSION >= 3001. Do not include
gensupport.h in any case.
(write_conditions): Generate a definition of struct c_test. Add
a comment to the generated #endif.
(write_one_condition): Escape backslashes in string too.
(write_writer): Generated code must escape backslashes and quote
marks (but not newlines) in the strings it writes.
* Makefile.in (build/gencondmd.o): Update dependencies.
--
amylaar at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25982
More information about the Gcc-bugs
mailing list