efl/src/lib/eolian
Daniel Kolesa 8c9fa54be4 eolian: fix the nonsensical semantics for variables
Both variables and constants can have extern on them (it means the same thing
as in types, they won't get generated in C). This is different from the previous
semantics which only allowed extern on globals, which makes no sense.

Both globals and constants are allowed to have a value (previously only
constants were); constants are required to have a value. Globals having
a value is just a convenience for initialization during source generation.
This is unlike the previous behavior, where the value was optional for both
globals and constants and only allowed when not marked extern, which makes
no sense either.

Obivously, even when globals have a value, they're not allowed to be used
in expressions, as they cannot be evaluated at compile time (they're mutable).
2016-10-19 15:32:22 +02:00
..
Eolian.h eolian: add API to get the C class datatype 2016-10-13 15:04:20 +02:00
database_class.c eolian: add event_prefix and have classes follow that or eo_prefix by default 2016-05-17 17:50:43 +01:00
database_class_api.c eolian: add API to get the C class datatype 2016-10-13 15:04:20 +02:00
database_constructor.c fix config.h inclusion across the tree 2014-09-23 15:56:46 -04:00
database_constructor_api.c eolian: lift restriction on namespace/class name conflicts in library 2016-05-06 12:57:01 +01:00
database_event.c eolian: remove support for old event doc syntax 2015-06-11 17:14:51 +01:00
database_event_api.c eolian: add event_prefix and have classes follow that or eo_prefix by default 2016-05-17 17:50:43 +01:00
database_expr.c eolian: more old type api removals 2016-03-03 18:58:11 +00:00
database_expr_api.c eolian: remove pointers from complex and class types 2016-05-23 15:58:33 +01:00
database_fill.c eolian: move deferred eo file parsing to the very end 2016-06-15 16:20:45 +01:00
database_function.c eolian: remove support for old style docs completely 2015-09-03 15:42:01 +01:00
database_function_api.c eolian: support @protected for accessors (get/set) 2016-06-09 16:55:24 +01:00
database_function_parameter.c eolian: fix function parameter memory leak with value 2015-11-03 13:40:17 +00:00
database_function_parameter_api.c eolian: remove support for old style docs completely 2015-09-03 15:42:01 +01:00
database_implement.c eolian: remove unnecessary function 2015-05-21 16:37:30 +01:00
database_implement_api.c eolian: lift restriction on namespace/class name conflicts in library 2016-05-06 12:57:01 +01:00
database_type.c eolian: add a builtin to handle a free callback. 2016-09-08 14:58:05 -07:00
database_type_api.c eolian: add support for static and terminated arrays 2016-06-30 16:59:21 +01:00
database_validate.c eolian: add support for static and terminated arrays 2016-06-30 16:59:21 +01:00
database_var.c eolian: remove support for old doc style on types and vars 2015-06-11 16:52:45 +01:00
database_var_api.c eolian: add APIs to get all things of each type 2016-03-29 15:01:17 +01:00
eo_lexer.c eolian: add a builtin to handle a free callback. 2016-09-08 14:58:05 -07:00
eo_lexer.h eolian: add a builtin to handle a free callback. 2016-09-08 14:58:05 -07:00
eo_parser.c eolian: fix the nonsensical semantics for variables 2016-10-19 15:32:22 +02:00
eo_parser.h eolian: remove parser dump for now (doesn't include all info, when it's needed again it can be re-added) 2014-07-11 11:33:26 +01:00
eolian.c fix config.h inclusion across the tree 2014-09-23 15:56:46 -04:00
eolian_database.c eolian: move deferred eo file parsing to the very end 2016-06-15 16:20:45 +01:00
eolian_database.h eolian: add support for static and terminated arrays 2016-06-30 16:59:21 +01:00