Daniel Kolesa
d4a0e41724
eolian: typo fix
2014-07-21 12:28:25 +01:00
Daniel Kolesa
c4fd68f08a
eolian: add API to retrieve filename for each typedef and struct
2014-07-21 12:26:44 +01:00
Daniel Kolesa
6caf41e288
eolian: only check redef on actual named structs
2014-07-21 11:47:35 +01:00
Daniel Kolesa
5d1cd61c92
eolian: put structs and typedefs right in the respective hashmaps without going through nodes
2014-07-21 11:42:05 +01:00
Daniel Kolesa
6f805a9998
eolian: check redefinitions in the parser instead (provides line info)
2014-07-21 11:34:14 +01:00
Daniel Kolesa
9262a82ed3
eolian: check for typedef and struct redefinitions
2014-07-21 11:22:49 +01:00
q66
9f0bcdf707
eolian: ouch... fix a major bug, *spanks self*
2014-07-19 13:00:44 +01:00
Daniel Kolesa
fa3e433f6e
eolian: disallow the data field in interfaces; it's always null
2014-07-18 17:29:35 +01:00
Daniel Kolesa
6c268d98e5
eolian: lexing of string literals (including support for escape sequences etc.)
2014-07-17 14:17:19 +01:00
Daniel Kolesa
e9e38b553b
eolian: lexing of number literals (integer and floating point, decimal and hex, no octal)
2014-07-17 13:07:39 +01:00
Daniel Kolesa
80165034ed
eolian: preliminary number constant stuff in eo_lexer
2014-07-16 16:18:13 +01:00
Daniel Kolesa
c636882158
eolian: remove TOK_EOF, replace with -1
2014-07-16 16:06:04 +01:00
Daniel Kolesa
226f417005
eolian: remove eo_lexer_get_until and allow just single-word value in the data: field of a class
2014-07-16 15:33:11 +01:00
Daniel Kolesa
9b2680ad6f
eolian: simplify the lexer (remove custom ident chars)
2014-07-16 14:46:38 +01:00
Daniel Kolesa
e2bab9ed2c
eolian: parse events without get_ident
2014-07-16 14:43:40 +01:00
Daniel Kolesa
198a61c37d
eolian: fix memory leak
2014-07-16 00:30:48 +01:00
Daniel Kolesa
ae3eb2b942
eolian: make event type syntax consistent
2014-07-15 23:50:34 +01:00
Daniel Kolesa
8716112a43
eolian: warning fix
2014-07-15 20:00:59 +01:00
Daniel Kolesa
d0e0576f0b
eolian: parser cleanup - structs no longer have to lookahead, making our grammar effectively LL(1)
2014-07-15 17:06:47 +01:00
Daniel Kolesa
0d0f6e3743
eolian: support for extern structs and typedefs (including API)
2014-07-15 15:33:22 +01:00
Daniel Kolesa
5c3cc82bdd
eolian: comment eo_lexer.h
2014-07-15 10:10:12 +01:00
Daniel Kolesa
831ade54fa
eolian: also make time_t a builtin
2014-07-14 17:02:58 +01:00
Daniel Kolesa
3be0dce99d
eolian: builtin types size, ssize, intptr, uintptr, ptrdiff
2014-07-14 16:51:38 +01:00
Daniel Kolesa
f510b6de72
eolian: schar and uchar are now called byte and ubyte, char stays
...
Here, 'char' represents an actual character and is meant to be treated as so by generators.
The byte types represent a numerical value and should be treated numerically.
2014-07-14 16:25:26 +01:00
Daniel Kolesa
17a6bb122b
eolian: add tests for struct types plus fix a double free and name storage on the way
2014-07-14 12:11:48 +01:00
Daniel Kolesa
c9744596de
eolian: builtin bool type, and change the eo files to use that
2014-07-11 14:40:49 +01:00
Daniel Kolesa
5d4cc031f9
eolian: s/dflt/default/g
2014-07-11 14:30:22 +01:00
Daniel Kolesa
888dc3b6fe
eolian: remove eolian_show and replace it with variants for class/struct/typedef/all.
2014-07-11 13:10:04 +01:00
Daniel Kolesa
9e3417aad8
eolian: fix type print
2014-07-11 12:26:33 +01:00
Daniel Kolesa
35ada5afff
eolian: update print code (it made some obsolete assumptions before)
2014-07-11 12:22:36 +01:00
Daniel Kolesa
a13d8a6020
eolian: fix a segfault
2014-07-11 12:02:02 +01:00
Daniel Kolesa
883c4ca7df
eolian: events now use Eolian_Type* instead of stringshare
2014-07-11 11:47:37 +01:00
Daniel Kolesa
a9171a89f9
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
Daniel Kolesa
d7ce4332fe
eolian: separate database fill stuff from the parser
2014-07-11 11:31:48 +01:00
Daniel Kolesa
8bbd79badc
eolian: split db fill func into multiple funcs
2014-07-11 10:57:28 +01:00
Daniel Kolesa
4b427d6c16
eolian: remove redundant enum
2014-07-10 15:40:58 +01:00
Daniel Kolesa
78bc58813e
eolian: remove unused enum and field
2014-07-10 15:36:18 +01:00
Daniel Kolesa
144fd1e2ae
eolian: refactoring: get rid of Eo_Event_Def
2014-07-10 15:31:01 +01:00
Daniel Kolesa
239e7524dc
eolian: refactoring: get rid of Eo_Implement_Def
2014-07-10 15:23:06 +01:00
Daniel Kolesa
7b9438e76e
eolian: refactoring: remove Eo_Type_Def
2014-07-10 15:10:24 +01:00
Daniel Kolesa
a03bef4734
eolian: get rid of Eo_Type_Def
2014-07-10 14:44:17 +01:00
Daniel Kolesa
7cff1fda3e
eolian: refactoring: refactor eolian_database.h
2014-07-10 14:30:34 +01:00
Daniel Kolesa
441455259e
eolian: refactoring: more consistent naming
2014-07-10 14:19:06 +01:00
Daniel Kolesa
1293dce967
eolian: API refactoring
2014-07-10 14:04:13 +01:00
Daniel Kolesa
1772ab8a1c
eolian: separate database API and internals into different source files
2014-07-10 13:13:46 +01:00
Daniel Kolesa
37bc20298c
eolian: refactoring: split up eolian_database into individual files
2014-07-10 12:15:29 +01:00
Daniel Kolesa
2ababe8a89
eolian: const fixes
2014-07-10 11:06:20 +01:00
Daniel Kolesa
a26546bc6b
eolian: the entire API is now const correct
2014-07-09 21:31:03 +01:00
Daniel Kolesa
133607936d
eolian: const correctness
2014-07-09 21:07:15 +01:00
Daniel Kolesa
580aea04cd
eolian: refactoring step six
...
Move Eolian_Function as well, plus fix const correctness of several API funcs.
2014-07-09 20:59:31 +01:00