diff options
author | Daniel Kolesa <d.kolesa@osg.samsung.com> | 2015-05-08 14:22:32 +0100 |
---|---|---|
committer | Daniel Kolesa <d.kolesa@osg.samsung.com> | 2015-05-08 14:22:32 +0100 |
commit | c8b0b0697157be2f3936842f1b259d62321d649f (patch) | |
tree | 5b9424933894c822d4596d48755ba8888ab01441 | |
parent | 5726cf3b0f1a40b8816ebbbc8be4a8a0a3d32562 (diff) | |
download | efl-c8b0b0697157be2f3936842f1b259d62321d649f.tar.gz |
eolian: parsing for beta events
-rw-r--r-- | src/lib/eolian/eo_parser.c | 5 | ||||
-rw-r--r-- | src/lib/eolian/eolian_database.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/eolian/eo_parser.c b/src/lib/eolian/eo_parser.c index 88f98bb4d5..8a87a078c8 100644 --- a/src/lib/eolian/eo_parser.c +++ b/src/lib/eolian/eo_parser.c @@ -1617,6 +1617,11 @@ parse_event(Eo_Lexer *ls) ev->scope = EOLIAN_SCOPE_PROTECTED; eo_lexer_get(ls); } + if (ls->t.kw == KW_at_beta) + { + ev->is_beta = EINA_TRUE; + eo_lexer_get(ls); + } if (ls->t.token == ':') { eo_lexer_get(ls); diff --git a/src/lib/eolian/eolian_database.h b/src/lib/eolian/eolian_database.h index 407d3d71ac..a9ab8d9d22 100644 --- a/src/lib/eolian/eolian_database.h +++ b/src/lib/eolian/eolian_database.h @@ -187,6 +187,7 @@ struct _Eolian_Event Eolian_Type *type; Eolian_Class *klass; int scope; + Eina_Bool is_beta :1; }; struct _Eolian_Struct_Type_Field |