projects
/
platform
/
upstream
/
nasm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c158c71
)
preproc.c: Fix regression introduced in bebf0d215
author
Victor van den Elzen
<victor.vde@gmail.com>
Wed, 10 Mar 2010 21:33:48 +0000
(22:33 +0100)
committer
Victor van den Elzen
<victor.vde@gmail.com>
Wed, 10 Mar 2010 21:33:48 +0000
(22:33 +0100)
preproc.c
patch
|
blob
|
history
diff --git
a/preproc.c
b/preproc.c
index c076066e6b196364861ac1a76ee5abf8e92c23a9..1af58d92dc3c8c574c728a8e74b9019d39bdf50f 100644
(file)
--- a/
preproc.c
+++ b/
preproc.c
@@
-2439,7
+2439,7
@@
static int do_directive(Token * tline)
error(ERR_NONFATAL, "unknown `%%use' package: %s", tline->text);
else
pkg_macro = (char *)use_pkg + 1; /* The first string will be <%define>__USE_*__ */
- if (use_pkg && smacro_defined(NULL, pkg_macro, 0, NULL, true)) {
+ if (use_pkg &&
!
smacro_defined(NULL, pkg_macro, 0, NULL, true)) {
/* Not already included, go ahead and include it */
stdmacpos = use_pkg;
}