diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-22 22:02:16 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-22 22:02:16 +0000 |
commit | b1a9ff83ec06ce09e7954014c562782edbca250a (patch) | |
tree | d48c115c626bc1be9e16db74afd070b025a875ce /gcc/cppexp.c | |
parent | b87d7646dd59c2af0141f5a66995c013e6c636d5 (diff) | |
download | gcc-b1a9ff83ec06ce09e7954014c562782edbca250a.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53751 138bc75d-0d04-0410-961f-82ee72b054a4
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 84fcac5e8f1..2d2ce489c03 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; } |