From 6b38fdca359b75e219455a4dc163588396924f45 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 2 Jan 2025 14:23:29 +0900 Subject: [PATCH] [qfcc] Remove unwanted spec symbol assignments I suspect they were once for dealing with class and typedef names in selectors, but they're confusing things now that I'm trying to rework type declarations, and I doubt they were ever actually needed. --- tools/qfcc/source/qc-parse.y | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/qfcc/source/qc-parse.y b/tools/qfcc/source/qc-parse.y index 71df1fcb8..edca24968 100644 --- a/tools/qfcc/source/qc-parse.y +++ b/tools/qfcc/source/qc-parse.y @@ -1162,7 +1162,6 @@ typespec_nonreserved } else { $$ = type_spec (&type_id); } - $$.sym = $1.sym; } | CLASS_NAME protocolrefs { @@ -1174,7 +1173,6 @@ typespec_nonreserved } else { $$ = type_spec ($1->type); } - $$.sym = $1; } // NOTE: fields don't parse the way they should. This is not a problem // for basic types, but functions need special treatment