summaryrefslogtreecommitdiff
path: root/src/lib/eolian/eo_parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eolian/eo_parser.c')
-rw-r--r--src/lib/eolian/eo_parser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/eolian/eo_parser.c b/src/lib/eolian/eo_parser.c
index 884302ebe5..669f1969cf 100644
--- a/src/lib/eolian/eo_parser.c
+++ b/src/lib/eolian/eo_parser.c
@@ -1143,12 +1143,14 @@ parse_param(Eo_Lexer *ls, Eina_List **params, Eina_Bool allow_inout,
1143 break; 1143 break;
1144 case KW_at_optional: 1144 case KW_at_optional:
1145 CASE_LOCK(ls, optional, "optional qualifier"); 1145 CASE_LOCK(ls, optional, "optional qualifier");
1146 par->optional = EINA_TRUE;
1146 eo_lexer_get(ls); 1147 eo_lexer_get(ls);
1147 break; 1148 break;
1148 case KW_at_nullable: 1149 case KW_at_nullable:
1149 if (has_nonull) 1150 if (has_nonull)
1150 eo_lexer_syntax_error(ls, "both nullable and nonull specified"); 1151 eo_lexer_syntax_error(ls, "both nullable and nonull specified");
1151 CASE_LOCK(ls, nullable, "c_only qualifier"); 1152 CASE_LOCK(ls, nullable, "c_only qualifier");
1153 par->nullable = EINA_TRUE;
1152 eo_lexer_get(ls); 1154 eo_lexer_get(ls);
1153 break; 1155 break;
1154 default: 1156 default: