aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplib.h
diff options
context:
space:
mode:
authorZack Weinberg <zack@rabi.columbia.edu>1999-04-19 11:55:04 +0000
committerZack Weinberg <zack@gcc.gnu.org>1999-04-19 11:55:04 +0000
commit80e9dcb4b2227b960b43f5356531a004a8565fe1 (patch)
treeebb02ccf6b002d0d03abebf1a917eaf581d86c4b /gcc/cpplib.h
parenta3f406ce4c9fe47d97f951a48bc1488285f995a9 (diff)
downloadgcc-80e9dcb4b2227b960b43f5356531a004a8565fe1.zip
gcc-80e9dcb4b2227b960b43f5356531a004a8565fe1.tar.gz
gcc-80e9dcb4b2227b960b43f5356531a004a8565fe1.tar.bz2
cpplib.c (output_line_command): Drop CONDITIONAL argument.
1999-04-19 14:51 -0400 Zack Weinberg <zack@rabi.columbia.edu> * cpplib.c (output_line_command): Drop CONDITIONAL argument. We can omit unnecessary line commands if file_change == same_file and pfile->lineno != 0. All callers changed. (cpp_get_token [case '\n']): Don't bump pfile->lineno if CPP_OPTIONS (pfile)->no_line_commands is set. * cpplib.h: Fix prototype of output_line_command. From-SVN: r26547
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r--gcc/cpplib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h
index bffd493..45f025e 100644
--- a/gcc/cpplib.h
+++ b/gcc/cpplib.h
@@ -726,7 +726,7 @@ extern int check_macro_name PARAMS ((cpp_reader *, U_CHAR *, int));
/* Last arg to output_line_command. */
enum file_change_code {same_file, enter_file, leave_file};
-extern void output_line_command PARAMS ((cpp_reader *, int,
+extern void output_line_command PARAMS ((cpp_reader *,
enum file_change_code));
/* From cpperror.c */