From fff83acef311c1dbf99a5bb27ce2dbdccfc6cc93 Mon Sep 17 00:00:00 2001 From: Daniel Kolesa Date: Thu, 12 Feb 2015 11:19:24 +0000 Subject: [PATCH] eolian: check the other boolean rather than itself --- src/lib/eolian/eo_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/eolian/eo_parser.c b/src/lib/eolian/eo_parser.c index 07e3754..884302e 100644 --- a/src/lib/eolian/eo_parser.c +++ b/src/lib/eolian/eo_parser.c @@ -1146,7 +1146,7 @@ parse_param(Eo_Lexer *ls, Eina_List **params, Eina_Bool allow_inout, eo_lexer_get(ls); break; case KW_at_nullable: - if (has_nullable) + if (has_nonull) eo_lexer_syntax_error(ls, "both nullable and nonull specified"); CASE_LOCK(ls, nullable, "c_only qualifier"); eo_lexer_get(ls); -- 2.7.4