diff options
author | Daniel Kolesa <d.kolesa@samsung.com> | 2015-02-12 11:19:24 +0000 |
---|---|---|
committer | Daniel Kolesa <d.kolesa@samsung.com> | 2015-02-12 11:19:24 +0000 |
commit | fff83acef311c1dbf99a5bb27ce2dbdccfc6cc93 (patch) | |
tree | 7823ac8cbefc8215fd01a0ca2025a5ffff4e6ee5 /src | |
parent | be6415d66208b1037196782319c708a8be1aa6bf (diff) |
eolian: check the other boolean rather than itself
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/eolian/eo_parser.c | 2 |
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); |