> On 24 Mar 2018, at 22:10, Paul Eggert <egg...@cs.ucla.edu> wrote: > > Hans Åberg wrote: >> Might it possible to get an option > > Sounds like a reasonable option to me, if someone wants to write and document > it.
It actually looks like a bug, translating into C escape strings twice: The first time is in parse-gram.y, in the rule string_as_id: STRING { $$ = symbol_get (quotearg_style (c_quoting_style, $1), @1); symbol_class_set ($$, token_sym, @1, false); } ; The second time is, as noted before, in 'prepare_symbols', output.c, the lines set_quoting_style (qo, c_quoting_style); set_quoting_flags (qo, QA_SPLIT_TRIGRAPHS); Both are needed: removing any, will cause the .cc code to not compile due to some symbols. Also, trigraphs are removed from C++17.