q66 pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=c8b0b0697157be2f3936842f1b259d62321d649f

commit c8b0b0697157be2f3936842f1b259d62321d649f
Author: Daniel Kolesa <d.kol...@osg.samsung.com>
Date:   Fri May 8 14:22:32 2015 +0100

    eolian: parsing for beta events
---
 src/lib/eolian/eo_parser.c       | 5 +++++
 src/lib/eolian/eolian_database.h | 1 +
 2 files changed, 6 insertions(+)

diff --git a/src/lib/eolian/eo_parser.c b/src/lib/eolian/eo_parser.c
index 88f98bb..8a87a07 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 407d3d7..a9ab8d9 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

-- 


Reply via email to