diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2002-05-22 22:02:16 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2002-05-22 22:02:16 +0000 |
commit | df3834838116b327a61f5a9e271e54c75ad34085 (patch) | |
tree | d48c115c626bc1be9e16db74afd070b025a875ce /gcc/cppexp.c | |
parent | 2dd36f90d8c4f5b86667cbb11c86f6c790bd784b (diff) | |
download | gcc-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/cppexp.c')
-rw-r--r-- | gcc/cppexp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/cppexp.c b/gcc/cppexp.c index 84fcac5..2d2ce48 100644 --- a/gcc/cppexp.c +++ b/gcc/cppexp.c @@ -150,7 +150,7 @@ parse_number (pfile, tok) || (base == 16 && (c == 'P' || c == 'p') && p+1 < end && (p[1] == '+' || p[1] == '-'))) SYNTAX_ERROR ("floating point numbers are not valid in #if"); - + /* Determine the suffix. l means long, and u means unsigned. See the suffix tables, above. */ switch (end - p) @@ -177,7 +177,7 @@ parse_number (pfile, tok) cpp_error (pfile, DL_PEDWARN, "too many 'l' suffixes in integer constant"); } - + if (base <= largest_digit) cpp_error (pfile, DL_PEDWARN, "integer constant contains digits beyond the radix"); @@ -491,7 +491,7 @@ static const struct operator top->value = PSH (pfile, v1, unsigned1, v2); /* Parse and evaluate a C expression, reading from PFILE. - Returns the truth value of the expression. + Returns the truth value of the expression. The implementation is an operator precedence parser, i.e. a bottom-up parser, using a stack for not-yet-reduced tokens. @@ -631,7 +631,7 @@ _cpp_parse_expr (pfile) /* Check for and handle stack overflow. */ if (++top == pfile->op_limit) top = _cpp_expand_op_stack (pfile); - + top->op = op.op; } |