aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* make sure errno is not changed during fail_ifMattias Andrée2014-12-091-0/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* make exit_if easier on the syntaxMattias Andrée2014-12-092-6/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* make fail_if friendlier to complex if-statementsMattias Andrée2014-12-093-25/+17
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* do no print whence an error occurred if it is EMSGSIZE, ECONNRESET or EINTR, those are not real errors, just abnormalitiesMattias Andrée2014-12-091-3/+9
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* with a few exceptions, never return directly on failure, always goto fail by invoking fail_ifMattias Andrée2014-12-099-90/+93
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* with a few exceptions and some remaining files, never return directly on failure, always goto fail by invoking fail_ifMattias Andrée2014-12-0832-551/+685
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* update the texinfo manual for the new use of fail_ifMattias Andrée2014-12-081-3/+3
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* rename pfail to failMattias Andrée2014-12-0833-135/+135
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + make sure we never lose errnoMattias Andrée2014-12-088-30/+31
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* no more goto failMattias Andrée2014-12-0815-110/+98
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* replace all variants of goto pfail with fail_ifMattias Andrée2014-12-082-16/+11
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* replace all goto pfail with fail_if, so that we can take whence it failedMattias Andrée2014-12-0810-45/+33
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* whenever fail_if gotos to the failure clause, print whenceMattias Andrée2014-12-081-2/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: mark failing test casesMattias Andrée2014-12-082-0/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: compile-layout. bug fixes, test-cases and mark all untested error reportsMattias Andrée2014-12-0816-69/+156
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: compile-keyboard: regressionMattias Andrée2014-12-081-4/+9
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: bug fixMattias Andrée2014-12-081-6/+10
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-12-081-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-12-081-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: compile-layout: more tested and bug fixesMattias Andrée2014-12-085-38/+52
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: simplify mds_kbdc_tree_dupMattias Andrée2014-12-071-38/+36
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: test call to undefined callables and mark the entire macro call if the macro does not existMattias Andrée2014-12-073-0/+11
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: compile-layout: bug fixesMattias Andrée2014-12-072-32/+39
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: compile-layout: bug fixesMattias Andrée2014-12-073-14/+12
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-12-071-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* ... derpMattias Andrée2014-12-071-12/+12
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m derpMattias Andrée2014-12-071-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-12-071-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: compile-keyboard: ,:s in < > are not special when inside quotesMattias Andrée2014-12-071-3/+11
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: compile-layout: support " in < >Mattias Andrée2014-12-071-11/+17
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: compile-layout: fix bug in parsing escapesMattias Andrée2014-12-071-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fail_if supports sequences without being double bracketedMattias Andrée2014-12-076-53/+53
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* whitespaceMattias Andrée2014-12-071-3/+3
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: compile-layout: some bug fixes and test casesMattias Andrée2014-12-079-19/+66
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: compile-layout: add some test cases + file parsing bugMattias Andrée2014-12-077-5/+37
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-12-071-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: remove a debug outputMattias Andrée2014-12-071-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: track side-effectsMattias Andrée2014-12-071-5/+14
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: parse function callsMattias Andrée2014-12-073-25/+186
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: whoops, functions name may include digitsMattias Andrée2014-12-071-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: typoMattias Andrée2014-12-071-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: derpMattias Andrée2014-12-071-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: mMattias Andrée2014-12-071-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: typo + generate error if a function is used within a function before it has been definedMattias Andrée2014-12-071-7/+15
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: check_function_calls_in_literalMattias Andrée2014-12-071-4/+118
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: m + function callingMattias Andrée2014-12-065-71/+300
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: parse_keysMattias Andrée2014-12-062-12/+130
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: parse numeralsMattias Andrée2014-12-061-10/+40
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: parse_quoted_string are takes care of unquotes strings with escapesMattias Andrée2014-12-061-5/+16
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: parse quotes strings, but not function callsMattias Andrée2014-12-061-4/+232
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>