]> gcc.gnu.org Git - gcc.git/commitdiff
cppexp.c (parse_charconst): Change `mask' type to agree with parse_escape.
authorAlan Modra <alan@linuxcare.com.au>
Mon, 22 Jan 2001 07:38:18 +0000 (07:38 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Mon, 22 Jan 2001 07:38:18 +0000 (07:38 +0000)
        * cppexp.c (parse_charconst):  Change `mask' type to agree
        with parse_escape.

From-SVN: r39178

gcc/ChangeLog
gcc/cppexp.c

index ecf3a2cdaf27273aff991b33bc632b15084b6c44..eda0a28e49822a470055e547950cb4f7478eaab0 100644 (file)
@@ -1,3 +1,8 @@
+2001-01-22  Alan Modra <alan@linuxcare.com.au>
+
+        * cppexp.c (parse_charconst):  Change `mask' type to agree
+        with parse_escape.
+
 2001-01-21  Richard Henderson  <rth@redhat.com>
 
        * config/i386/i386.c (ix86_asm_file_end): Disable putting
index e101592dd155d9a7f01685f4b932bcb61afcb2dd..aaed026187a522d95cb298e39cd49daebfccc781 100644 (file)
@@ -1,5 +1,5 @@
 /* Parse C expressions for cpplib.
-   Copyright (C) 1987, 1992, 1994, 1995, 1997, 1998, 1999, 2000
+   Copyright (C) 1987, 1992, 1994, 1995, 1997, 1998, 1999, 2000, 2001
    Free Software Foundation.
    Contributed by Per Bothner, 1994.
 
@@ -248,7 +248,8 @@ parse_charconst (pfile, tok)
   HOST_WIDEST_INT result = 0;
   int num_chars = 0;
   int num_bits;
-  unsigned int width = MAX_CHAR_TYPE_SIZE, mask = MAX_CHAR_TYPE_MASK;
+  unsigned int width = MAX_CHAR_TYPE_SIZE;
+  HOST_WIDEST_INT mask = MAX_CHAR_TYPE_MASK;
   int max_chars;
   const U_CHAR *ptr = tok->val.str.text;
   const U_CHAR *end = ptr + tok->val.str.len;
This page took 0.065135 seconds and 5 git commands to generate.