From 95865035eb9e9e1e51ab345a272d06cceacb3102 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Sun, 2 Dec 2012 11:56:20 +0100 Subject: [PATCH] Fix ternary operator entry for -std=gmqcc --- lexer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } }; -- 2.39.2