OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f987100
)
*** empty log message ***
author
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Jun 1992 19:01:26 +0000
(19:01 +0000)
committer
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Jun 1992 19:01:26 +0000
(19:01 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1146
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/c-lex.c
patch
|
blob
|
history
diff --git
a/gcc/c-lex.c
b/gcc/c-lex.c
index
95efad5
..
1344189
100644
(file)
--- a/
gcc/c-lex.c
+++ b/
gcc/c-lex.c
@@
-922,9
+922,6
@@
yylex ()
while (1)
switch (c)
{
- case '\r':
- if (!flag_traditional) /* ANSI says no */
- goto found_nonwhite;
case ' ':
case '\t':
case '\f':
@@
-933,6
+930,9
@@
yylex ()
c = getc (finput);
break;
+ case '\r':
+ /* Call skip_white_space so we can warn if appropriate. */
+
case '\n':
case '/':
case '\\':