Previous 199869 Revisions Next

r20208 Friday 11th January, 2013 at 20:29:05 UTC by smf
leaves line continuation characters in comments alone (nw)
[src/tools]srcclean.c

trunk/src/tools/srcclean.c
r20207r20208
213213               dst--;
214214            }
215215            /* remove extraneous line continuation followed by a blank line */
216            else if (is_c_file && dst > 2 && modified[dst-3] == '\\' && modified[dst-2] == 0x0d && modified[dst-1]==0x0a)
216            else if (is_c_file && !in_multiline_comment && dst > 2 && modified[dst-3] == '\\' && modified[dst-2] == 0x0d && modified[dst-1]==0x0a)
217217            {
218218               removed_continuations++;
219219               dst -= 3;

Previous 199869 Revisions Next


© 1997-2024 The MAME Team