------- Comment #3 from domob at gcc dot gnu dot org 2008-07-22 17:11 ------- The message locus for constant-string is not yet perfect, but the effort to benefit ratio in this case is probably rather bad, so I mark this as fixed.
In my commit, I changed the "Unexpected element" error to include the offending character as suggested in the opening comment, changed the locus for constant-string expressions to the start of this expression rather than the end of the overall statement and added some tests for both runtime and compile time format checking. -- domob at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29835