summaryrefslogtreecommitdiff
path: root/modules/preprocs/cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use queue.h HEAD macros more portably (also avoiding compiler warning).Peter Johnson2010-01-031-1/+1
| | | | svn path=/trunk/yasm/; revision=2258
* Don't assume CPP_PROG is 3 characters long (e.g. "gcc -E" isn't).Peter Johnson2008-11-251-1/+1
| | | | | | Reported and fix submitted by: Mark Charney svn path=/trunk/yasm/; revision=2159
* Add cmake build infrastructure.Peter Johnson2008-05-221-0/+3
| | | | | | | | | | | | | | | | | Not default nor even distributed in the .tar.gz, the cmake build allows for loadable yasm plugins by building libyasm as a shared library. Example plugins are in the plugins/ directory, and may be loaded into a cmake-built yasm using the -N command line option (non-cmake builds will not have this option). Tested only on Linux so far, but should be relatively painless to port to Windows thanks to the use of cmake rather than libtool to create shared libraries. The only modification to the main source tree is some conditional-compiled additions to yasm.c. svn path=/trunk/yasm/; revision=2098
* Split NASM preprocessor standard macro set between various modules.Peter Johnson2008-05-091-1/+8
| | | | | | | | | | | | | | | | | | | | Standard macro sets are looked up based on parser and preprocessor keyword from individual modules. The "standard" NASM parser macros now reside in the NASM parser, so when the GAS parser is used with the NASM preprocessor, the NASM-specific macros are no longer defined. Object-format specific macros are now individually defined by each object formatm module. This allows for the object formats to be independent of the NASM preprocessor module and yields a small optimization benefit as unused object format macros don't need to be skipped over. Also add GAS macro equivalents for the Win64 SEH more complex directives [1]. [1] Requested by Brian Gladman <brg@gladman.plus.com> svn path=/trunk/yasm/; revision=2082
* Support use of EQU values within NASM preprocessor.Peter Johnson2007-11-031-1/+2
| | | | | | | | | Note: label values are still not supported, and probably never will be, as yasm is single-pass parsing, and only reads the source file once. Someday we may add specific support for relatively common %if-%error idioms. svn path=/trunk/yasm/; revision=2008
* Change preprocessor interface from block-oriented to line-oriented.Peter Johnson2007-11-031-10/+41
| | | | | | | | | | This will make certain types of parser-preprocessor synchronization easier for upcoming feature enhancements. Due to additional complexity in GAS (rept), internally GAS converts lines back into blocks. svn path=/trunk/yasm/; revision=2007
* cpp-preproc.c: Fix typo in description (enternal -> external).Peter Johnson2007-10-221-1/+1
| | | | svn path=/trunk/yasm/; revision=2005
* Autoconfize cpp program name and popen. This commit inactivates cpp in thePeter Johnson2007-09-201-6/+13
| | | | | | VC build files, as there's no popen. svn path=/trunk/yasm/; revision=1970
* * Added code to the cpp module to pass include directories to the cpp program.paulbarker2007-09-181-7/+14
| | | | | | | * Marked a string for gettext. * Fixed a comment error. svn path=/branches/multiarch/; revision=1961
* Added dependency generation to cpp module.paulbarker2007-09-101-8/+72
| | | | svn path=/branches/multiarch/; revision=1941
* Delayed destruction of arguments list until cpp_preproc_destroy() in cpp module.paulbarker2007-09-101-10/+15
| | | | svn path=/branches/multiarch/; revision=1940
* * Marked message strings so gettext can find them.paulbarker2007-09-011-2/+2
| | | | | | * Updated POTFILES.in svn path=/branches/multiarch/; revision=1925
* Removed FILE* argument from preprocessor create() interface. The ↵paulbarker2007-08-301-15/+1
| | | | | | preprocessor now opens the input file itself. svn path=/branches/multiarch/; revision=1923
* Changed cpp module to destroy the argument list and free the memory it uses.paulbarker2007-08-301-9/+5
| | | | svn path=/branches/multiarch/; revision=1921
* Modified cpp module to read directly from the preprocessor using a pipe, ↵paulbarker2007-08-301-21/+7
| | | | | | rather than storing the output in a temporary file. svn path=/branches/multiarch/; revision=1920
* Simplified cpp module, re-structuring much of the code and improving comments.paulbarker2007-08-291-64/+87
| | | | svn path=/branches/multiarch/; revision=1919
* Cleaned up cpp_invoke() function and removed call to asprintf().paulbarker2007-08-291-31/+24
| | | | svn path=/branches/multiarch/; revision=1917
* Initial version of cpp module (on multiarch branch).paulbarker2007-08-292-0/+302
svn path=/branches/multiarch/; revision=1916