summaryrefslogtreecommitdiff
path: root/preproc.h
Commit message (Collapse)AuthorAgeFilesLines
* Add copyright headers to the *.c/*.h files in the main directoryH. Peter Anvin2009-06-281-5/+34
| | | | | | | | | | Add copyright headers to the *.c/*.h files in the main directory. For files where I'm sure enough that we have all the approvals, I have given them the 2-BSD license, the others have been given the "LGPL for now" license header. Most of them can probably be changed after auditing. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Avoid redundant "const" for macros_tH. Peter Anvin2008-07-191-1/+1
| | | | | | Don't use a redundant "const" for macros_t (which is const unsigned char), since OpenWatcom doesn't like it, and I believe it is incorrect per the C standard.
* Make the macros table "unsigned char"H. Peter Anvin2008-06-251-1/+1
| | | | It gets less ugly if we make the macros table "unsigned char".
* pp_directives_len can be uint8_tH. Peter Anvin2008-06-211-1/+1
| | | | Save a few hundred bytes...
* Drop the index tables from the canned macrosH. Peter Anvin2008-06-211-1/+1
| | | | | | Instead of an array of strings, just have a character array; that reduces the size of canned macros by up to 30%, and we only did sequential access anyway.
* Move the output format macros into the macros.pl mechanismH. Peter Anvin2008-06-201-1/+4
| | | | | | | | | | Move the handling of "extra" macros (i.e. output format macros) into the macros.pl mechanism. This allows us to change the format of the internal macro store in the future - e.g. to a single byte store without redundant pointers. Also, stop using indicies into a long array when there is no good reason to not just use different arrays.
* macros.c: compress by tokenizing macro directivesH. Peter Anvin2008-06-191-0/+1
| | | | | | | | | | Compress macros.c by representing macro directives with a single byte. We can do this because we only use the ASCII character range inside the standard macro files. Note: we could save significant additional space by not having a pointer array, and instead relying on the fact that we sweep sequentially through the output array.
* Introduce %depend and %pathsearch, and make incbin a macroH. Peter Anvin2008-05-301-1/+0
| | | | | | Introduce new preprocessor directives %depend and %pathsearch, and make incbin a standard macro using these filenames. This lets us remove the code that makes incbin search the path.
* regularized spelling of license to match name of LICENSE fileBeroset2007-12-291-1/+1
|
* Use a perfect hash to look up preprocessor directivesH. Peter Anvin2007-09-121-2/+5
| | | | | Use a perfect hash to look up preprocessor directives, and generate the preprocessor directive list automatically.
* Fixed distinction between char and int8_t data types.Keith Kanios2007-04-131-7/+7
|
* General push for x86-64 support, dubbed 0.99.00.Keith Kanios2007-04-121-6/+7
|
* Apply Nindent to all .c and .h filesnasm-0.98.39LATESTH. Peter Anvin2005-01-151-6/+6
|
* Alexei's patch to allow "-I" paths to be searched for "incbin"ed filesFrank Kotler2003-08-271-0/+1
|
* "const"-ipation fixes from Trevor WoernerH. Peter Anvin2002-09-121-1/+1
|
* NASM 0.98p6nasm-0.98p6H. Peter Anvin2002-04-301-0/+1
|
* NASM 0.96nasm-0.96H. Peter Anvin2002-04-301-0/+1
|
* NASM 0.95nasm-0.95H. Peter Anvin2002-04-301-0/+4
|
* NASM 0.94nasm-0.94H. Peter Anvin2002-04-301-0/+14