X-Git-Url: https://git.draconx.ca/gitweb/cdecl99.git/blobdiff_plain/8ef7bb974c538e4802688d45296ee988a6648e02..41ff7ec97691:/src/scan.l diff --git a/src/scan.l b/src/scan.l index 90f5ad9..767ba22 100644 --- a/src/scan.l +++ b/src/scan.l @@ -173,7 +173,7 @@ INTEGER 0x[[:xdigit:]]+|0[0-7]+|[[:digit:]]+ int tok; yylval->spectype = UNPACK_SPEC(x & 0xff); - if ((tok = (x >> 8)) == T_IDENT) { + if ((tok = (x >> 8)) == PACK_TOKEN(T_IDENT)) { /* * Our IDENT pattern includes hyphens so we can match * "variable-length" as a keyword. In all other cases a