ref: 93b37d4f0e0edb56f793ccab58f4800bf16f508d
parent: 056904fd8e9e34a544e826450559a39fc5a0f617
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Thu May 7 05:57:14 EDT 2015
Fix long long constant in lex.c LONG + LONG is not anymore == LLONG
--- a/cc1/lex.c
+++ b/cc1/lex.c
@@ -29,9 +29,9 @@
type:
switch (ch = toupper(getchar())) {
case 'L':
- if (size == LONG + LONG)
+ if (size == LLONG)
goto wrong_type;
- size += LONG;
+ size = (size == LONG) ? LLONG : LONG;
goto type;
case 'U':
if (sign == UNSIGNED)