aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppexp.c
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2002-04-21 18:46:42 +0000
committerNeil Booth <neil@gcc.gnu.org>2002-04-21 18:46:42 +0000
commit562a5c27c266280971055d4066ce9cba9403158b (patch)
tree3ea24655d8eabfdaf624b6cb32ed7b761c98617f /gcc/cppexp.c
parent9ac3b1bec7b58c6ad4a76782b1116dfb5f4cd0c6 (diff)
downloadgcc-562a5c27c266280971055d4066ce9cba9403158b.zip
gcc-562a5c27c266280971055d4066ce9cba9403158b.tar.gz
gcc-562a5c27c266280971055d4066ce9cba9403158b.tar.bz2
cppexp.c (struct op, [...]): Replace U_CHAR with uchar.
* cppexp.c (struct op, parse_number): Replace U_CHAR with uchar. * cppfiles.c (read_include_file): Similarly. * cpphash.h (DSC, U_CHAR, ustrcmp, ustrncmp, ustrlen, uxstrdup ustrchr, ufputs): Similarly. * cppinit.c (TRIGRAPH_MAP, cpp_destroy): Similarly. * cpplex.c (parse_slow, unescaped_terminator_p, save_comment, cpp_ideq, parse_identifier, parse_number): Similarly. * cpplib.c (struct directive, dequote_string, D, run_directive, cpp_push_buffer): Similarly. * cppmacro.c (new_string_token, builtin_macro, cpp_quote_string, _cpp_create_definition, check_trad_stringification, cpp_macro_definition): Similarly. From-SVN: r52587
Diffstat (limited to 'gcc/cppexp.c')
-rw-r--r--gcc/cppexp.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/cppexp.c b/gcc/cppexp.c
index e5b5ef7..b62741b 100644
--- a/gcc/cppexp.c
+++ b/gcc/cppexp.c
@@ -42,9 +42,9 @@ static const unsigned char *op_as_text PARAMS ((cpp_reader *, enum cpp_ttype));
struct op
{
enum cpp_ttype op;
- U_CHAR prio; /* Priority of op. */
- U_CHAR flags;
- U_CHAR unsignedp; /* True if value should be treated as unsigned. */
+ uchar prio; /* Priority of op. */
+ uchar flags;
+ uchar unsignedp; /* True if value should be treated as unsigned. */
HOST_WIDEST_INT value; /* The value logically "right" of op. */
};
@@ -91,9 +91,9 @@ parse_number (pfile, tok)
const cpp_token *tok;
{
struct op op;
- const U_CHAR *start = tok->val.str.text;
- const U_CHAR *end = start + tok->val.str.len;
- const U_CHAR *p = start;
+ const uchar *start = tok->val.str.text;
+ const uchar *end = start + tok->val.str.len;
+ const uchar *p = start;
int c = 0, i, nsuff;
unsigned HOST_WIDEST_INT n = 0, nd, MAX_over_base;
int base = 10;