summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-06-14CHANGES: document changes from nasm-2.03H. Peter Anvin1-0/+5
2008-06-14quote: fix termination condition for hexadecimal escapesH. Peter Anvin1-1/+1
Fix reversed test for hexadecimal escape sequence termination.
2008-06-12Fix overflow in listing.c (BR 1991797)H. Peter Anvin1-1/+1
Fix a buffer overflow in listing.c (BR 1991797). Putting this on the nasm-2.03.x branch as a potential candidate for a patch release.
2008-06-09Fix %? in multi-line macros with a labelH. Peter Anvin1-4/+9
The handling of %? in multi-line macros was broken when the macro name was preceeded by a label; it would expand to the label instead of the macro name. This was particularly serious since this was used in the macro implementation of INCBIN.
2008-06-08NASM 2.03H. Peter Anvin1-1/+1
2008-06-08doc: Fix title "String Constants"H. Peter Anvin1-1/+1
Cut & paste oops...
2008-06-08doc: Index Unicode and UTF-8H. Peter Anvin1-2/+4
Add Unicode and UTF-8 to the index
2008-06-08doc: \t is also a supported escape sequence...H. Peter Anvin1-1/+2
2008-06-08doc: s/by/in/ certain preprocessor directives.H. Peter Anvin1-1/+1
2008-06-08Split documentation on string syntax out of "character constants"H. Peter Anvin1-23/+31
Split the documentation on string syntax, as a lexical entity, out of the section about character constants. It was confusing to have discussion that apply more to string constants than character constants, and they use the same syntax anyway.
2008-06-08doc: A few floating-point examplesH. Peter Anvin1-1/+3
2008-06-08doc: add a commaH. Peter Anvin1-1/+1
This time the comma should actually be there.
2008-06-08doc: ALL %if constructs have %elif/%ifn/%elifn variants.H. Peter Anvin1-6/+10
All %if constructs now have %elif/%ifn/%elifn; this is hard-coded into the preprocessor.
2008-06-08doc: remove superfluous commaH. Peter Anvin1-1/+1
2008-06-08Improve the %iftoken exampleH. Peter Anvin1-2/+10
2008-06-08Fix capitalization in titlesH. Peter Anvin1-2/+2
2008-06-08Document forward references fixed in EQU.H. Peter Anvin1-0/+1
2008-06-08Document __OUTPUT_FORMAT__Frank Kotler1-0/+14
It may be "too late" for this to get into 2.03, but I've been whining that "__OUTPUT_FORMAT__" ought to be documented. Maybe...
2008-06-06NASM 2.03rc8H. Peter Anvin1-1/+1
2008-06-06Fix dependency list generationH. Peter Anvin1-7/+8
The dependency list tail pointer wasn't actually updated correctly. Fix that. We may want to make this a structure of some sort to make the code a bit cleaner, but this seems to be the cleanest hack for now.
2008-06-05NASM 2.03rc7H. Peter Anvin1-1/+1
2008-06-05Merge branch 'master' of git+ssh://repo.or.cz/srv/git/nasmH. Peter Anvin2-2/+2
2008-06-05The XSAVE group are SSE-spefix-sensitiveH. Peter Anvin1-5/+6
The XSAVE group are SSE-prefix-sensitive (null prefix), and therefore take the \360 flag.
2008-06-05Merge branch 'master' of git+ssh://ccrayne@repo.or.cz/srv/git/nasmCharles Crayne6-15/+74
2008-06-05Avoid obscure segfault in DWARF generationCharles Crayne2-2/+2
If DWARF debugging info is requested, and no section is marked executable, output empty debug sections, instead of allowing assembler to segfault.
2008-06-05insnsd.c: don't generate an inaccessible tableH. Peter Anvin1-0/+1
Some pseudo-instructions (RESB and EQU) seem to make it into the instruction table. This also generates an instruction table for zero-length instructions, which of course can never actually be accessed. Quiet a compiler warning by simply not emitting this useless table. Ideally we shouldn't emit the pseudo-instructions either, but that is a bigger change, and it's hardly a lot of memory involved.
2008-06-05NASM 2.03rc6H. Peter Anvin1-1/+1
2008-06-04doc: Remove superfluous comma.H. Peter Anvin1-1/+1
2008-06-04Add %defstr, %idefstrH. Peter Anvin4-14/+72
Add %defstr and %idefstr, to define a macro as a quoted string.
2008-06-04Merge branch 'master' of git+ssh://ccrayne@repo.or.cz/srv/git/nasmCharles Crayne2-4/+2
2008-06-04Remove EQU for critical expression listCharles Crayne2-2/+2
Allow redefine_label to update segment as well as offset, thereby fixing bug which required EQU to be on the critical expression list.
2008-06-04NASM 2.03rc5H. Peter Anvin1-1/+1
2008-06-04Fix double free in %dependH. Peter Anvin1-3/+1
2008-06-04Fix memory management issues with expanded %includeH. Peter Anvin4-59/+83
Ownership of the filename string was a bit fuzzy, with the result that we were freeing it even though it was retained for use by __FILE__. Clean up a number of other memory management issues with the new quoting code, and change the stdscan implementation to one pass over the string.
2008-06-04Update .gitignore, remove bogus dependencyH. Peter Anvin6-5/+2
2008-06-04Makefile/dependency updatesH. Peter Anvin5-22/+33
Add quote.c to all the auxiliary Makefiles, and run "make alldeps".
2008-06-02doc: Remove "what's new" since it is out of dateH. Peter Anvin1-58/+8
2008-06-02quote: Change the definition of escpH. Peter Anvin1-7/+7
Semi-arbitrary change of the definition of escp to the beginning of the argument sequence instead of the initiator character. This may avoid an add in some code paths, and looks slightly cleaner to me.
2008-06-02quote: be consistent in not using C escapes for bytesH. Peter Anvin1-7/+7
We used numbers in nasm_unquote and C escapes in nasm_quote - use numbers in both places, just in case some C compiler does something weird with '\r' and (especially) '\n'.
2008-06-02nasm_unquote: make code a little more uniformH. Peter Anvin1-9/+9
Make the code a bit more consistent: - ndig is now always a countdown, and we always to the (p > escp+1) test to see if we got anything at all (this is to deal with stuff like \x without a digit.) - Add missing break; after 'v' (bug!). - Preinitialize nval to zero.
2008-06-02quote: massively simplify nasm_skip_string()H. Peter Anvin1-75/+7
Greatly simplify nasm_skip_string() by observing that for the purpose of string skipping, all states other than st_backslash are equivalent to st_start.
2008-06-01Document UTF-8 conversion better, use "byte" instead of "ASCII"H. Peter Anvin1-4/+9
ASCII specifically refers to characters <= 127, so to use "ASCII" for literal bytes is really confusing in a multibyte environment. Give an example of using Unicode escapes.
2008-06-01Document that underscores in numbers is permitted.H. Peter Anvin1-0/+7
2008-06-01NASM 2.03rc4H. Peter Anvin1-1/+1
2008-06-01Update CHANGESH. Peter Anvin1-0/+3
2008-06-01nasmdoc: document %substr, `...`H. Peter Anvin1-15/+47
2008-06-01Fix bug where the WinHelp backend corrupts the internal dataH. Peter Anvin1-4/+5
WinHelp/RTF needs to convert \ to \\, but did so on the global data, so the DIP output was corrupted.
2008-06-01qstring: fix unquoting in %pathsearch directiveH. Peter Anvin1-2/+2
%pathsearch unquoting should be done on the "t" token, not on the "tline" token...
2008-06-01qstring: backquoted strings seem to work now...H. Peter Anvin5-48/+113
Hopefully backquoted strings should work correctly now.
2008-06-01qstring: first cut at full quoted string support in the preprocessorH. Peter Anvin6-267/+545
First attempt at properly handle quoted strings in the preprocessor. This also adds range support in %substr. No support in the assembler yet.