This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
treating CRLF files same as LF ones
- To: <bug-gcc at gnu dot org>
- Subject: treating CRLF files same as LF ones
- From: "CB" <cheekyboy at 2-hot dot com>
- Date: Tue, 19 Sep 2000 18:31:47 +1000
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