aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplib.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2002-05-22 22:02:16 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2002-05-22 22:02:16 +0000
commitdf3834838116b327a61f5a9e271e54c75ad34085 (patch)
treed48c115c626bc1be9e16db74afd070b025a875ce /gcc/cpplib.c
parent2dd36f90d8c4f5b86667cbb11c86f6c790bd784b (diff)
downloadgcc-df3834838116b327a61f5a9e271e54c75ad34085.zip
gcc-df3834838116b327a61f5a9e271e54c75ad34085.tar.gz
gcc-df3834838116b327a61f5a9e271e54c75ad34085.tar.bz2
cpperror.c: Fix formatting.
* cpperror.c: Fix formatting. * cppexp.c: Likewise. * cppfiles.c: Likewise. * cpphash.c: Likewise. * cpphash.h: Likewise. * cppinit.c: Likewise. * cpplex.c: Likewise. * cpplib.c: Likewise. * cppmacro.c: Likewise. * cppmain.c: Likewise. * cppspec.c: Likewise. From-SVN: r53751
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r--gcc/cpplib.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c
index f19d34e..df33af8d 100644
--- a/gcc/cpplib.c
+++ b/gcc/cpplib.c
@@ -400,8 +400,8 @@ _cpp_handle_directive (pfile, indented)
requested to expand comments into macros, then re-enable
saving of comments. */
if (dir == &dtable[T_DEFINE])
- pfile->state.save_comments =
- ! CPP_OPTION (pfile, discard_comments_in_macro_exp);
+ pfile->state.save_comments =
+ ! CPP_OPTION (pfile, discard_comments_in_macro_exp);
pfile->directive = dir;
(*pfile->directive->handler) (pfile);
@@ -514,7 +514,7 @@ static void
do_undef (pfile)
cpp_reader *pfile;
{
- cpp_hashnode *node = lex_macro_node (pfile);
+ cpp_hashnode *node = lex_macro_node (pfile);
/* 6.10.3.5 paragraph 2: [#undef] is ignored if the specified identifier
is not currently defined as a macro name. */
@@ -787,7 +787,7 @@ do_line (pfile)
"\"%s\" after #line is not a positive integer",
cpp_token_as_text (pfile, token));
return;
- }
+ }
if (CPP_PEDANTIC (pfile) && (new_lineno == 0 || new_lineno > cap))
cpp_error (pfile, DL_PEDWARN, "line number out of range");
@@ -839,7 +839,7 @@ do_linemarker (pfile)
cpp_error (pfile, DL_ERROR, "\"%s\" after # is not a positive integer",
cpp_token_as_text (pfile, token));
return;
- }
+ }
token = cpp_get_token (pfile);
if (token->type == CPP_STRING)
@@ -1112,7 +1112,7 @@ do_pragma_once (pfile)
cpp_reader *pfile;
{
cpp_error (pfile, DL_WARNING, "#pragma once is obsolete");
-
+
if (pfile->buffer->prev == NULL)
cpp_error (pfile, DL_WARNING, "#pragma once in main file");
else
@@ -1187,7 +1187,7 @@ do_pragma_dependency (pfile)
{
const cpp_token *header;
int ordering;
-
+
header = parse_include (pfile);
if (!header)
return;
@@ -1664,7 +1664,7 @@ do_assert (pfile)
{
struct answer *new_answer;
cpp_hashnode *node;
-
+
node = parse_assertion (pfile, &new_answer, T_ASSERT);
if (node)
{
@@ -1698,7 +1698,7 @@ do_unassert (pfile)
{
cpp_hashnode *node;
struct answer *answer;
-
+
node = parse_assertion (pfile, &answer, T_UNASSERT);
/* It isn't an error to #unassert something that isn't asserted. */
if (node && node->type == NT_ASSERTION)
@@ -1739,7 +1739,7 @@ cpp_define (pfile, str)
char *buf, *p;
size_t count;
- /* Copy the entire option so we can modify it.
+ /* Copy the entire option so we can modify it.
Change the first "=" in the string to a space. If there is none,
tack " 1" on the end. */
@@ -1794,7 +1794,7 @@ cpp_unassert (pfile, str)
const char *str;
{
handle_assertion (pfile, str, T_UNASSERT);
-}
+}
/* Common code for cpp_assert (-A) and cpp_unassert (-A-). */
static void