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)
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,
1146 eo_lexer_get(ls); 1146 eo_lexer_get(ls);
1147 break; 1147 break;
1148 case KW_at_nullable: 1148 case KW_at_nullable:
1149 if (has_nullable) 1149 if (has_nonull)
1150 eo_lexer_syntax_error(ls, "both nullable and nonull specified"); 1150 eo_lexer_syntax_error(ls, "both nullable and nonull specified");
1151 CASE_LOCK(ls, nullable, "c_only qualifier"); 1151 CASE_LOCK(ls, nullable, "c_only qualifier");
1152 eo_lexer_get(ls); 1152 eo_lexer_get(ls);