This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

treating CRLF files same as LF ones


Can you make sure the gcc/c-lex.c treats the windows CRLF files the same
way as normal LF files, ie at line 989 where it checks for case '\n', why
not also
accept case 13: ('\r'). As currently its a pain in the ass to share
windows/mac/unix sources
that are OS independant. Sure they sort of work, except with macros screw up
with CRLF files.

case 13: case 10: would be enough to make it happy.

If you find it usefull good, it will help others, if not, hell, I can have
my own build.

Cheers and lets hope GCC 3.0 will be out soon. (not next year hopefully)


ADios




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]