diff options
| author | grischka <grischka> | 2016-10-01 20:19:37 +0200 |
|---|---|---|
| committer | grischka <grischka> | 2016-10-01 20:19:37 +0200 |
| commit | eacdc426d76a88aa9b6efc698106d3f36a774905 (patch) | |
| tree | f20ac27ca31fb9a98e366e430f11bd80e2ce3c8c /tccpp.c | |
| parent | 09a487eb2b2bcabeaeec8d2c7ca422993df0efb5 (diff) | |
| download | tinycc-eacdc426d76a88aa9b6efc698106d3f36a774905.tar.gz tinycc-eacdc426d76a88aa9b6efc698106d3f36a774905.tar.bz2 | |
libtcc: cleanup @listfile
Also:
- allow more than one item per line
- respect "quoted items" and escaped quotes \"
(also for LIBTCCAPI tcc_setoptions)
- cleanup some copy & paste
Diffstat (limited to 'tccpp.c')
| -rw-r--r-- | tccpp.c | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -133,21 +133,6 @@ ST_FUNC void end_macro(void) } } -ST_FUNC char *trimfront(char *p) -{ - while (*p && (unsigned char)*p <= ' ') - ++p; - return p; -} - -ST_FUNC char *trimback(char *a, char *e) -{ - while (e > a && (unsigned char)e[-1] <= ' ') - --e; - *e = 0;; - return a; -} - /* ------------------------------------------------------------------------- */ /* Custom allocator for tiny objects */ |
