aboutsummaryrefslogtreecommitdiff
path: root/tccpp.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "tccpp: Allow local labels to start with a dot"Daniel Glöckner2010-05-061-6/+0
| | | | | | This reverts commit f740485a5ab2ecef741bf1161b9feeea9c18cac0. It breaks access to structure elements starting with L
* Clean changes introduced by 47abdbdThomas Preud'homme2010-04-201-21/+0
| | | | | | | | | | | | * Replace the save/load_buffer_state by a dynarray approach: - Filename and libname are added to a dynarray when first encountered - Load repeatedly the files in the dynarray until no new undefined symbol are encountered * Replace snprintf by sprintf in libname_to_filename * Use tcc_fileextension in filename_to_libname * Introduce a tcc_strcpy_part fonction to copy only a subset of a string * Move new_undef_syms declaration from tcc.h to tccelf.c
* Better handle ld scriptsThomas Preud'homme2010-04-151-0/+21
| | | | | | | * search file from INPUT and GROUP commands in the library path in addition to the current directory * handle libraries specified by -lfoo options * Search lib in GROUP command repeatedly
* tccpp: Allow local labels to start with a dotDetlef Riekenberg2010-04-051-0/+6
| | | | | -- By by ... Detlef
* tccpp: Add missing bracket in an error messageDetlef Riekenberg2010-03-311-1/+1
|
* Fixed bug which prevent tcc preprocessor to ignore line number directivesAlexandre Becoulet2010-02-011-1/+1
|
* Dump the current token in skip(), when it's not the expected tokenDetlef Riekenberg2010-01-271-1/+1
|
* tccpp: signal missing #endif errorgrischka2010-01-141-2/+5
|
* tccpp: convert TOK_GET macro into functiongrischka2010-01-141-68/+63
|
* tccpp: warn about #define redefinitiongrischka2010-01-141-0/+19
|
* allow tcc be build from separate objectsgrischka2009-12-201-42/+179
| | | | If you want that, run: make NOTALLINONE=1
* tccpp: fix quirk with cached headers and #elsegrischka2009-08-241-1/+4
| | | | | | | | | | Such as with #ifndef FOO_H ... #else ... #endif
* tccpp: avoid double free with macro_ptr_allocated (after errors)grischka2009-08-241-0/+1
|
* cleanup: constify some global datagrischka2009-07-181-3/+4
|
* win32: treat long double as doublegrischka2009-07-181-0/+10
|
* win64: fix pointer <-> unsigned long typecast issuesgrischka2009-07-181-1/+5
|
* cleanup: stop abuse of sym->c for #define tokenstreamsgrischka2009-07-181-8/+10
|
* pp: return newline after directivegrischka2009-07-181-1/+2
|
* pp: simplify pasting, enable L ## numbergrischka2009-07-181-87/+25
|
* tcc_preprocess: add gcc-style include-depth flagsgrischka2009-06-171-7/+22
| | | | | | | | | # 1 "main.c" # 1 "include/stdio.h" 1 # 123 "include/stdio.h" 3 # 10 "main.c" 2 flags: 1: level++; 3: same-level 2: level--
* fix "cached include" optimizationgrischka2009-05-111-53/+58
| | | | | | | comparing the filenames as in the #include statement can be ambiguous if including files are in different directories. Now caches and checks the really opened filename instead.
* move static prototypes to libtcc.cgrischka2009-05-111-6/+11
|
* move some global variables into TCCStategrischka2009-05-111-3/+3
|
* move minor things from libtcc.c to other filesgrischka2009-05-051-0/+262
|
* move preprocessor to tccpp.cgrischka2009-05-051-0/+2643
|
* new files: tcc.h libtcc.c tccpp.c tccgen.cgrischka2009-05-051-0/+20