Cyrill Gorcunov 1cf9b31d55 BR 3392207: preproc: Rewrite paste_tokens routine
This should make it easier to read and moreover
now we're able to preprocess pasting as

%define N 1e%++%+ 5
	dd N, 1e+5

Note that N should be expanded as series of pasting
to 1e+5 term, but before this patch we were ending
up in 1e+%+ 5 which is wrong.

In other words the fixed version output is

	dd 1e+5, 1e+5

while broken one was

	dd 1e+%+ 5, 1e+5

This patch also fixes nil dereferences in case if
there is no left or right token around pasting term.

http://bugzilla.nasm.us/show_bug.cgi?id=3392207

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2012-08-07 11:27:17 +04:00
2012-07-22 21:08:30 -07:00
2010-04-25 12:02:38 +04:00
2010-04-01 01:17:00 +04:00
2009-09-14 23:17:03 +04:00
2012-02-03 12:08:59 -08:00
2010-06-15 10:47:16 -07:00
2010-11-20 14:20:38 +03:00
2012-02-25 22:35:19 -08:00
2009-11-30 12:07:31 -08:00
2008-04-10 14:54:02 -07:00
2007-11-25 14:25:13 -08:00
2009-08-10 15:59:34 -07:00
2010-06-15 10:47:16 -07:00
2010-11-07 17:20:23 +01:00
2009-10-13 19:41:37 +04:00
2010-04-22 11:02:56 -07:00
2012-07-28 15:28:48 -07:00
2002-04-30 21:09:12 +00:00
2010-07-28 18:00:18 +04:00
2010-07-28 18:00:18 +04:00
2010-08-12 20:15:27 -07:00
2010-05-06 15:33:24 -07:00
2011-07-15 23:14:53 +04:00
2012-05-02 00:19:38 +04:00
2007-09-19 21:41:27 -07:00
2011-08-28 18:49:00 +04:00
2010-11-07 17:20:23 +01:00
2010-11-07 17:20:23 +01:00
2011-06-25 12:10:40 +04:00
2010-07-25 11:09:56 +04:00
2011-07-17 13:59:13 +04:00
2010-08-12 19:09:28 +04:00
2010-10-03 21:02:08 +04:00
2009-12-22 23:42:03 +03:00
2010-11-07 17:20:23 +01:00
2012-07-22 21:09:20 -07:00

              NASM, the Netwide Assembler.

Many many developers all over the net respect NASM for what it is
- a widespread (thus netwide), portable (thus netwide!), very
flexible and mature assembler tool with support for many output
formats (thus netwide!!).

Now we have good news for you: NASM is licensed under the "simplified"
(2-clause) BSD license.  This means its development is open to even
wider society of programmers wishing to improve their lovely
assembler.

The NASM project is now situated at SourceForge.net, the most
popular Open Source development site on the Internet.

Visit our website at http://nasm.sourceforge.net/ and our
SourceForge project at http://sourceforge.net/projects/nasm/

See the file CHANGES for the description of changes between revisions,
and the file AUTHORS for a list of contributors.

                                                   With best regards,
                                                           NASM crew.
Description
No description provided
Readme BSD-2-Clause 10 MiB
Languages
Assembly 61.7%
C 31.7%
Perl 3.2%
Makefile 0.8%
M4 0.7%
Other 1.9%