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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/eolian/eo_parser.c b/src/lib/eolian/eo_parser.c
index cc3ea7a..626e75b 100644
--- a/src/lib/eolian/eo_parser.c
+++ b/src/lib/eolian/eo_parser.c
@@ -684,7 +684,7 @@ parse_type_void(Eo_Lexer *ls, Eina_Bool allow_ptr)
684 def->btype = ls->t.kw - KW_byte + 1; 684 def->btype = ls->t.kw - KW_byte + 1;
685 def->base.name = eina_stringshare_ref(ls->t.value.s); 685 def->base.name = eina_stringshare_ref(ls->t.value.s);
686 eo_lexer_get(ls); 686 eo_lexer_get(ls);
687 if ((tpid >= KW_accessor && tpid <= KW_inlist) || 687 if ((tpid >= KW_accessor && tpid <= KW_list) ||
688 (tpid >= KW_slice && tpid <= KW_rw_slice)) 688 (tpid >= KW_slice && tpid <= KW_rw_slice))
689 { 689 {
690 int bline = ls->line_number, bcol = ls->column; 690 int bline = ls->line_number, bcol = ls->column;
@@ -2254,7 +2254,8 @@ postparams:
2254 eo_lexer_context_restore(ls); 2254 eo_lexer_context_restore(ls);
2255 Eolian_Typedecl tdecl; 2255 Eolian_Typedecl tdecl;
2256 tdecl.base.type = EOLIAN_OBJECT_TYPEDECL; 2256 tdecl.base.type = EOLIAN_OBJECT_TYPEDECL;
2257 tdecl.type = is_enum ? EOLIAN_TYPEDECL_ENUM : EOLIAN_TYPEDECL_STRUCT; 2257 tdecl.type =
2258 (is_enum ? EOLIAN_TYPEDECL_ENUM : EOLIAN_TYPEDECL_STRUCT);
2258 redef_error(ls, decl, &tdecl.base); 2259 redef_error(ls, decl, &tdecl.base);
2259 } 2260 }
2260 eo_lexer_context_pop(ls); 2261 eo_lexer_context_pop(ls);