From: Wolfgang (Blub) Bumiller Date: Sun, 2 Dec 2012 10:56:20 +0000 (+0100) Subject: Fix ternary operator entry for -std=gmqcc X-Git-Tag: 0.1.9~132 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=commitdiff_plain;h=95865035eb9e9e1e51ab345a272d06cceacb3102 Fix ternary operator entry for -std=gmqcc --- diff --git a/lexer.h b/lexer.h index e3ba96f..e419794 100644 --- a/lexer.h +++ b/lexer.h @@ -217,7 +217,7 @@ static const oper_info c_operators[] = { { "^=", 2, opid2('^','='), ASSOC_RIGHT, 2, 0 }, { "|=", 2, opid2('|','='), ASSOC_RIGHT, 2, 0 }, - { ":", 3, opid2(':','?'), ASSOC_RIGHT, 1, 0 }, + { ":", 0, opid2(':','?'), ASSOC_RIGHT, 1, 0 }, { ",", 2, opid1(','), ASSOC_LEFT, 0, 0 } };