summaryrefslogtreecommitdiff
path: root/pptok.dat
Commit message (Collapse)AuthorAgeFilesLines
* preproc: add %ifenvH. Peter Anvin2010-07-131-1/+2
| | | | | | | Add %ifenv to test for the presence of an environment variable. The environment variable can, but does not have to be, prefixed with %!. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* pptok: change %rimacro to %irmacroKeith Kanios2009-07-141-1/+1
| | | | | preproc: change PP_RIMACRO to PP_IRMACRO nasmdoc: add entries for %[i]deftok and %[i]rmacro
* preproc: add %[i]deftok supportKeith Kanios2009-07-141-0/+2
| | | | pptok: add %deftok and %ideftok preprocessor directives
* pptok: add rmacro/rimacroKeith Kanios2009-07-111-0/+3
| | | | preproc: revamp for use with rmacro/rimacro instead of overloading macro/imacro with optional recursion parameter
* Add copyright notices to other *.dat filesH. Peter Anvin2009-06-281-0/+33
| | | | | | Add copyright notices to the other *.dat files. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* %error, %warning out on the final pass, add %fatalH. Peter Anvin2008-09-241-0/+1
| | | | | Only process %error or %warning directives on the final pass. Add a new %fatal directive which terminates assembly immediately.
* preproc: add %un[i]macro, add cleanupsH. Peter Anvin2008-07-161-0/+2
| | | | | | | | | Add %un[i]macro, and a few stylistic cleanups. Note: unlike %undef, %un[i]macro takes an argument specification, which must *exactly* match the macro being undefined. Similarly, %unimacro has to be used to undefine a macro defined with %imacro, and vice versa.
* preproc: %strcat directive to concatenate quoted stringsH. Peter Anvin2008-07-011-0/+1
| | | | | | | I noticed there was no sane way to concatenate the contents of quoted strings, so add the %strcat directive. These really need to become preprocessor functions at some stage.
* preproc: add support for builtin include modules (%use)H. Peter Anvin2008-06-191-0/+1
| | | | | | | | | Add a builtin equivalent to the %include directive called %use. %use includes a standard macro file compiled into the binary; these come from the macros/ directory in the source code. The idea here is to be able to provide optional macro packages with the distribution, without adding complex host filesystem dependencies.
* Add %warning, saner unquoting of %errorH. Peter Anvin2008-06-101-0/+1
| | | | | | | - Add %warning directive - Only unquote an %error or %warning string if it is the only thing on the directive line. - Don't expand macros inside a quoted string, even for %error.
* Add %defstr, %idefstrH. Peter Anvin2008-06-041-0/+2
| | | | Add %defstr and %idefstr, to define a macro as a quoted string.
* Introduce %depend and %pathsearch, and make incbin a macroH. Peter Anvin2008-05-301-0/+2
| | | | | | 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.
* Add %ifempty and variantsnasm-2.02rc2H. Peter Anvin2008-02-161-1/+2
|
* Implement %iftoken, test for a single tokenH. Peter Anvin2008-02-161-0/+1
| | | | | Implement %iftoken, a test for a single token. This is useful in cases using %+ to splice a macro-provided token.
* Use a perfect hash to look up preprocessor directivesH. Peter Anvin2007-09-121-0/+44
Use a perfect hash to look up preprocessor directives, and generate the preprocessor directive list automatically.