summaryrefslogtreecommitdiff
path: root/gcc/c-lex.c
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-19 15:23:34 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-19 15:23:34 +0000
commitd7463c567b2f2e147428e23640e5e72745c2282c (patch)
tree9866a7533211ae44ce4b1f5ab8e850153a4a53b8 /gcc/c-lex.c
parent06382f6179dfdb3ec544fc5a13d7adc2f3c759d2 (diff)
downloadgcc-d7463c567b2f2e147428e23640e5e72745c2282c.tar.gz
tweak comments
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39134 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r--gcc/c-lex.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c
index f30cd715cbd..ddfee8dbd86 100644
--- a/gcc/c-lex.c
+++ b/gcc/c-lex.c
@@ -245,7 +245,8 @@ cb_file_change (pfile, fc)
{
if (fc->reason == FC_ENTER)
{
- /* Don't stack the main buffer on the input stack. */
+ /* Don't stack the main buffer on the input stack;
+ we already did in compile_file. */
if (fc->from.filename)
{
lineno = fc->from.lineno;
@@ -282,7 +283,7 @@ cb_file_change (pfile, fc)
if (indent_level != input_file_stack->indent_level)
{
warning_with_file_and_line
- (input_filename, lex_lineno,
+ (input_filename, lineno,
"This file contains more '%c's than '%c's.",
indent_level > input_file_stack->indent_level ? '{' : '}',
indent_level > input_file_stack->indent_level ? '}' : '{');