From a91f4cedeb9227afe16b32fdf8ebbd0718d10a6d Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 27 Nov 2012 18:31:47 +0900 Subject: [PATCH] Add the @nil keyword. @nil is exactly the same as nil, but it is always available. --- tools/qfcc/source/qc-lex.l | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/qfcc/source/qc-lex.l b/tools/qfcc/source/qc-lex.l index f0a10cbe2..9cb0e3027 100644 --- a/tools/qfcc/source/qc-lex.l +++ b/tools/qfcc/source/qc-lex.l @@ -294,6 +294,7 @@ static keyword_t keywords[] = { {"case", CASE, 0, 1, PROG_ID_VERSION, 0}, {"default", DEFAULT, 0, 1, PROG_ID_VERSION, 0}, {"nil", NIL, 0, 0, PROG_ID_VERSION, 0}, + {"@nil", NIL, 0, 2, PROG_ID_VERSION, 0}, {"struct", STRUCT, 0, 0, PROG_VERSION, 0}, {"union", STRUCT, 0, 0, PROG_VERSION, 0}, {"enum", ENUM, 0, 0, PROG_ID_VERSION, 0},