grischka
0cc24d0e84
tcc -dt -run ... : simpler is better
...
* -dt now with lowercase t
* test snippets now separated by real preprocessor statements
which is valid C also for other compilers
#if defined test_xxx
< test snippet x >
#elif defined test_yyy
< test snippet y >
#elif ...
#endif
* simpler implementation, behaves like -run if no 'test_...' macros
are seen, works with -E too
* for demonstration I combined some of the small tests for errors
and warnings (56..63,74) in "60_errors_and_warnings.c"
Also:
* libtcc.c:
put tcc_preprocess() and tcc_assemble() under the setjmp clause
to let them return to caller after errors. This is for -dt -E.
* tccgen.c:
- get rid of save/restore_parse_state(), macro_ptr is saved
by begin_macro anyway, now line_num too.
- use expr_eq for parsing _Generic's controlling_type
- set nocode_wanted with const_wanted. too, This is to keep
VT_JMP on vtop when parsing preprocessor expressions.
* tccpp.c: tcc -E: suppress trailing whitespace from lines with
comments (that -E removes) such as
NO_GOTPLT_ENTRY,\t /* never generate ... */
2017-07-20 22:21:27 +02:00
..
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2014-01-06 19:56:26 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 14:27:38 +01:00
2017-07-10 22:20:34 +02:00
2017-07-10 22:20:34 +02:00
2013-02-05 13:22:36 +01:00
2013-02-05 14:27:38 +01:00
2013-02-05 14:27:38 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2015-01-05 18:23:32 +03:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2015-11-22 00:00:36 +00:00
2015-11-22 00:00:36 +00:00
2016-10-12 06:18:38 +02:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2014-04-12 13:37:37 -04:00
2013-02-05 13:22:36 +01:00
2014-04-07 11:20:45 +02:00
2014-04-07 11:20:45 +02:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2017-07-14 17:42:48 +02:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2016-12-18 05:20:14 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 14:27:38 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 14:27:38 +01:00
2013-02-05 13:22:36 +01:00
2015-03-03 16:32:25 +03:00
2014-04-12 14:04:10 -04:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 14:27:38 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 14:27:38 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2017-07-20 22:21:27 +02:00
2017-07-20 22:21:27 +02:00
2015-03-03 16:32:25 +03:00
2014-04-07 23:30:57 +08:00
2014-04-12 16:11:42 +08:00
2014-04-12 16:11:42 +08:00
2014-12-15 16:32:08 +08:00
2014-12-15 16:32:08 +08:00
2015-01-18 22:00:10 +01:00
2015-01-18 22:00:10 +01:00
2015-05-09 14:29:39 +02:00
2015-05-09 14:29:39 +02:00
2015-03-07 17:42:08 +00:00
2015-03-07 17:42:08 +00:00
2015-03-23 08:27:16 +03:00
2015-03-23 08:27:16 +03:00
2015-04-20 12:03:45 +01:00
2015-04-20 12:03:45 +01:00
2015-04-25 15:03:50 +03:00
2015-04-25 15:03:50 +03:00
2015-11-21 23:58:58 +00:00
2015-11-21 23:58:58 +00:00
2015-11-13 21:49:29 +00:00
2015-04-28 09:23:29 +00:00
2016-03-11 22:35:44 +01:00
2016-03-11 22:35:44 +01:00
2017-05-02 03:07:36 +02:00
2016-03-24 15:44:01 +01:00
2017-07-14 17:42:48 +02:00
2016-04-06 14:32:52 +03:00
2016-04-05 13:05:09 +03:00
2016-04-05 13:05:09 +03:00
2017-02-13 19:03:29 +01:00
2017-02-13 19:03:29 +01:00
2017-02-13 19:03:29 +01:00
2017-02-13 19:03:29 +01:00
2017-02-13 19:03:29 +01:00
2017-02-13 19:03:29 +01:00
2016-12-15 17:47:12 +01:00
2016-12-15 17:47:12 +01:00
2016-12-20 04:58:34 +01:00
2016-12-20 04:58:34 +01:00
2017-02-13 19:03:29 +01:00
2017-02-13 19:03:29 +01:00
2017-05-06 05:28:13 +02:00
2017-05-06 05:28:13 +02:00
2017-02-13 19:03:29 +01:00
2017-02-13 19:03:29 +01:00
2017-05-05 23:16:43 +02:00
2017-05-05 23:16:43 +02:00
2017-05-09 18:36:24 +02:00
2017-05-09 18:36:24 +02:00
2017-07-05 17:59:42 +02:00
2017-07-05 17:59:42 +02:00
2017-07-14 19:26:01 +02:00
2017-07-16 12:10:00 +02:00
2017-07-16 12:10:00 +02:00
2017-07-20 22:21:27 +02:00
2017-07-20 22:21:27 +02:00
2013-02-05 13:22:36 +01:00
2017-07-20 22:21:27 +02:00