Print this page
11972 resync smatch

@@ -82,11 +82,11 @@
                 break;
         default:
                 end = p + type - TOKEN_WIDE_CHAR;
         }
         p = parse_escape(p, &v, end,
-                        type < TOKEN_WIDE_CHAR ? bits_in_char : bits_in_wchar, token->pos);
+                        type < TOKEN_WIDE_CHAR ? bits_in_char : wchar_ctype->bit_size, token->pos);
         if (p != end)
                 warning(token->pos,
                         "multi-character character constant");
         *val = v;
 }

@@ -111,11 +111,11 @@
                         break;
                 default:
                         done = next;
                 }
         }
-        bits = is_wide ? bits_in_wchar : bits_in_char;
+        bits = is_wide ? wchar_ctype->bit_size: bits_in_char;
         while (token != done) {
                 unsigned v;
                 const char *p = token->string->data;
                 const char *end = p + token->string->length - 1;
                 while (p < end) {