summaryrefslogtreecommitdiff
path: root/src/lib/eolian/eo_parser.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-09-16 15:27:04 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-09-16 15:37:04 +0200
commitd9594dbc9d9e2bf6e8e58a570f60c2206df45fb3 (patch)
tree3fa9c28b3c1ff63c65090c0a100d37c7ac80dc2b /src/lib/eolian/eo_parser.c
parent2d3c99d30bf00219b1062c60217503bbcdcb3a4a (diff)
downloadefl-d9594dbc9d9e2bf6e8e58a570f60c2206df45fb3.tar.gz
eolian: drop @ctor_param and the associated APIs
This has been unused for a while, and has been just lingering around the code, so drop it so it doesn't make it into a release.
Diffstat (limited to 'src/lib/eolian/eo_parser.c')
-rw-r--r--src/lib/eolian/eo_parser.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/lib/eolian/eo_parser.c b/src/lib/eolian/eo_parser.c
index 1631082081..f7843b51c5 100644
--- a/src/lib/eolian/eo_parser.c
+++ b/src/lib/eolian/eo_parser.c
@@ -1810,16 +1810,12 @@ parse_constructor(Eo_Lexer *ls)
ls->klass->base.name,
ls->t.value.s);
eo_lexer_get(ls);
- while (ls->t.kw == KW_at_optional || ls->t.kw == KW_at_ctor_param)
+ while (ls->t.kw == KW_at_optional)
{
if (ls->t.kw == KW_at_optional)
{
ctor->is_optional = EINA_TRUE;
}
- if (ls->t.kw == KW_at_ctor_param)
- {
- ctor->is_ctor_param = EINA_TRUE;
- }
eo_lexer_get(ls);
}
check_next(ls, ';');
@@ -1841,16 +1837,12 @@ parse_constructor(Eo_Lexer *ls)
if (ls->t.token != '.') break;
eo_lexer_get(ls);
}
- while (ls->t.kw == KW_at_optional || ls->t.kw == KW_at_ctor_param)
+ while (ls->t.kw == KW_at_optional)
{
if (ls->t.kw == KW_at_optional)
{
ctor->is_optional = EINA_TRUE;
}
- if (ls->t.kw == KW_at_ctor_param)
- {
- ctor->is_ctor_param = EINA_TRUE;
- }
eo_lexer_get(ls);
}
check_next(ls, ';');