Previous 199869 Revisions Next

r31393 Wednesday 23rd July, 2014 at 04:37:08 UTC by smf
Allow line continuation in string literals. (nw)
[src/tools]srcclean.c

trunk/src/tools/srcclean.c
r31392r31393
260260         /* we are no longer in a C++-style comment */
261261         in_singleline_comment = false;
262262
263         if (in_c_string)
263         if (in_c_string && modified[dst-3] != '\\')
264264         {
265265            printf("Error: unterminated string literal: %x (%s)\n", src, argv[1]);
266266            return 1;

Previous 199869 Revisions Next


© 1997-2024 The MAME Team