diff options
author | Daniel Kolesa <d.kolesa@samsung.com> | 2014-06-30 23:17:05 +0100 |
---|---|---|
committer | Daniel Kolesa <d.kolesa@samsung.com> | 2014-06-30 23:17:05 +0100 |
commit | 8d0649ef0bf48716f404428bd88ea74d96228ccc (patch) | |
tree | 59815f5922f13a045d389ed18694b996653bfe29 | |
parent | 154a407bf2f9d8a62cf539b05929edf2b0e1390a (diff) | |
download | efl-8d0649ef0bf48716f404428bd88ea74d96228ccc.tar.gz |
eolian: remove superfluous macros
-rw-r--r-- | src/lib/eolian/eo_parser.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/eolian/eo_parser.c b/src/lib/eolian/eo_parser.c index e83cfcc949..567eebf595 100644 --- a/src/lib/eolian/eo_parser.c +++ b/src/lib/eolian/eo_parser.c @@ -1,9 +1,6 @@ #include "eo_parser.h" #include "eolian_database.h" -#define FUNC_PUBLIC 0 -#define FUNC_PROTECTED 1 - #define CASE_LOCK(ls, var, msg) \ if (has_##var) \ eo_lexer_syntax_error(ls, "double " msg); \ @@ -489,7 +486,7 @@ parse_property(Eo_Lexer *ls) ls->tmp.prop = prop; if (ls->t.kw == KW_protected) { - prop->scope = FUNC_PROTECTED; + prop->scope = EOLIAN_SCOPE_PROTECTED; eo_lexer_get(ls); } prop->name = eina_stringshare_add(ls->t.value); @@ -556,7 +553,7 @@ parse_method(Eo_Lexer *ls, Eina_Bool ctor) meth->type = METH_REGULAR; if (ls->t.kw == KW_protected) { - meth->scope = FUNC_PROTECTED; + meth->scope = EOLIAN_SCOPE_PROTECTED; eo_lexer_get(ls); } check(ls, TOK_VALUE); |