summaryrefslogtreecommitdiff
path: root/src/lib/eolian_cxx/grammar
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2018-01-16 16:10:43 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2018-01-16 16:37:52 +0100
commitdd2e579fecbe6ec4d1e0e7d46c82daff39be03c5 (patch)
tree3de0f6b1e40b3d5477f87792f46e186312972d88 /src/lib/eolian_cxx/grammar
parentb70604d018366cf1e825668643916a2c3cc4a88b (diff)
eolian: do not require unit for expr eval APIs
The necessary information is now stored directly in the expr during database validation. Also enable expr validation for params.
Diffstat (limited to 'src/lib/eolian_cxx/grammar')
-rw-r--r--src/lib/eolian_cxx/grammar/klass_def.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eolian_cxx/grammar/klass_def.hpp b/src/lib/eolian_cxx/grammar/klass_def.hpp
index 3872feaf4a..c59b39af73 100644
--- a/src/lib/eolian_cxx/grammar/klass_def.hpp
+++ b/src/lib/eolian_cxx/grammar/klass_def.hpp
@@ -1077,7 +1077,7 @@ struct enum_value_def
1077 name = eolian_typedecl_enum_field_name_get(enum_field); 1077 name = eolian_typedecl_enum_field_name_get(enum_field);
1078 c_name = eolian_typedecl_enum_field_c_name_get(enum_field); 1078 c_name = eolian_typedecl_enum_field_c_name_get(enum_field);
1079 auto exp = eolian_typedecl_enum_field_value_get(enum_field, EINA_TRUE); 1079 auto exp = eolian_typedecl_enum_field_value_get(enum_field, EINA_TRUE);
1080 value = eolian_expression_eval(unit, exp, EOLIAN_MASK_INT); // FIXME hardcoded int 1080 value = eolian_expression_eval(exp, EOLIAN_MASK_INT); // FIXME hardcoded int
1081 documentation = eolian_typedecl_enum_field_documentation_get(enum_field); 1081 documentation = eolian_typedecl_enum_field_documentation_get(enum_field);
1082 } 1082 }
1083}; 1083};