projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cff3d76
)
(skip_comment, handle_directive): Don't use uninitialized vars.
author
Paul Eggert
<eggert@gnu.org>
Tue, 7 May 1996 01:37:49 +0000
(
01:37
+0000)
committer
Paul Eggert
<eggert@gnu.org>
Tue, 7 May 1996 01:37:49 +0000
(
01:37
+0000)
From-SVN: r11948
gcc/cpplib.c
patch
|
blob
|
history
diff --git
a/gcc/cpplib.c
b/gcc/cpplib.c
index 3ed09fc6e8291ce6e3a656ba8ac2494a77a41c10..2775e25e52702086c634eace5aaf4f5293a878aa 100644
(file)
--- a/
gcc/cpplib.c
+++ b/
gcc/cpplib.c
@@
-890,7
+890,7
@@
skip_comment (pfile, linep)
cpp_reader *pfile;
long *linep;
{
- int c;
+ int c
= 0
;
while (PEEKC() == '\\' && PEEKN(1) == '\n')
{
if (linep)
@@
-1113,7
+1113,9
@@
handle_directive (pfile)
break;
}
- if (! kt->command_reads_line)
+ if (kt->command_reads_line)
+ after_ident = 0;
+ else
{
/* Nonzero means do not delete comments within the directive.
#define needs this when -traditional. */