summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2015-02-12 11:19:24 +0000
committerDaniel Kolesa <d.kolesa@samsung.com>2015-02-12 11:19:24 +0000
commitfff83acef311c1dbf99a5bb27ce2dbdccfc6cc93 (patch)
tree7823ac8cbefc8215fd01a0ca2025a5ffff4e6ee5
parentbe6415d66208b1037196782319c708a8be1aa6bf (diff)
downloadefl-fff83acef311c1dbf99a5bb27ce2dbdccfc6cc93.tar.gz
eolian: check the other boolean rather than itself
-rw-r--r--src/lib/eolian/eo_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eolian/eo_parser.c b/src/lib/eolian/eo_parser.c
index 07e37541d5..884302ebe5 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);