Commit Graph

30 Commits

Author SHA1 Message Date
lurchi e8095bcc75 inline does not work for functions that are not in a header file, so
static inline again
2017-01-09 00:14:05 +01:00
lurchi 0fe0be4e4b fix bug in partial list parsing (second try) 2016-09-05 12:58:11 +02:00
lurchi 678304a144 Revert "fix bug in partial list parsing"
This reverts commit c593d85742.
2016-09-05 12:55:37 +02:00
lurchi d65ac87b9e hopefully fixed the static inline mess now 2016-09-05 12:50:37 +02:00
lurchi 516231b0ba small improvement: when calling parse_list after last element was reached, now PSYC_PARSE_LIST_END is returned 2016-09-05 12:37:35 +02:00
lurchi c593d85742 fix bug in partial list parsing 2016-09-05 12:35:24 +02:00
lurchi 2614da4953 revert changes in parse.c 2016-09-05 11:53:54 +02:00
lurchi 48b9e626ed forgot for change some static inline functions, see commit 9d7ad2a; tests passing again 2016-09-05 11:33:42 +02:00
lurchi f892d406f4 change parse methods: the buffer must be passed on every call to simplify the parser lifetime 2016-09-04 13:47:37 +02:00
lurchi dd8cc059c5 partial parsing possible with PsycParser and PsycListParser 2016-09-03 22:38:47 +02:00
lurchi 9d7ad2a67f Switch static inline to inline
The linker does not create symbols for static functions so Rust FFI
can't find them. All static inline function have been changed to 'inline'
functions with an 'extern inline' declaration in the corresponding .c
files. Other than Rust FFI seeing the functions this has other
advantages. See [1] for a nice explanation.

[1]
https://gustedt.wordpress.com/2010/11/29/myth-and-reality-about-inline-in-c99/
2016-08-21 09:58:36 +02:00
tg(x) 3cc1c8127a license header 2013-07-16 16:53:51 +02:00
tg(x) 71866659f9 dict syntax; index & update mod parser; psyc-mode for emacs 2012-02-06 15:05:08 +01:00
tg(x) 078ec2a374 PSYC_STRING, func params 2011-12-01 14:12:41 +01:00
tg(x) d0b3b85924 table rendering 2011-11-26 15:03:10 +01:00
tg(x) 2e242d4f47 added @ op & _table type; number, index & keyword parsing 2011-11-21 16:00:46 +01:00
tg(x) 42c2709378 table parsing 2011-11-14 22:02:02 +01:00
tg(x) 1cc58abd0e indent 2011-11-11 22:18:24 +01:00
tg(x) aee9203df6 resync 2011-11-09 21:38:06 +01:00
tg(x) 49dedd5864 added state op return codes for psyc_parse, added stateop to PsycPacket 2011-11-09 21:22:58 +01:00
tg(x) 9f9bb2ffaa allow only = and ? to be alone on a line 2011-11-09 19:45:27 +01:00
tg(x) e2130b3eee added support for state sync/reset packets 2011-11-09 19:02:21 +01:00
tg(x) 344cdb7996 refactoring - more renames 2011-11-01 12:06:58 +01:00
tg(x) f25e768482 refactoring - renamed types 2011-10-31 20:26:47 +01:00
tg(x) 260bba0c46 refactoring - renamed functions 2011-10-31 20:04:16 +01:00
tg(x) 01358610fd uniform parser 2011-10-14 00:29:32 +02:00
tg(x) 1cc5499777 bench: added test tools, updated results; added inline option for parse & render 2011-05-17 00:27:26 +02:00
tg(x) 5f4e56a5e1 parseList: removed unused value parameter 2011-05-13 17:02:31 +02:00
tg(x) b1ae67135d added psyc_isListVar(), removed name param from psyc_parseList(), added more documentation 2011-05-09 19:21:26 +02:00
psyc://psyced.org/~lynX 2e39b26207 more death to the parser 2011-05-09 09:06:52 +02:00
Renamed from src/parser.c (Browse further)