From 7447854d7c70aa01c72779ac0831d52d0cbf36c5 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 19 Mar 2020 11:01:26 +0900 Subject: [PATCH] [qfcc] Recover from syntax errors in abstract_decl --- tools/qfcc/source/qc-parse.y | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/qfcc/source/qc-parse.y b/tools/qfcc/source/qc-parse.y index 7f257505b..4e49397bc 100644 --- a/tools/qfcc/source/qc-parse.y +++ b/tools/qfcc/source/qc-parse.y @@ -914,6 +914,7 @@ abstract_decl $1.type = type_default; $$->type = find_type (append_type ($$->type, $1.type)); } + | error { $$ = new_symbol (""); } ; qc_param_decl