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:
e5fdc60
)
Fix Bugs item #2537867
author
Charles Crayne
<chuck@thor.crayne.org>
Tue, 27 Jan 2009 22:43:37 +0000
(14:43 -0800)
committer
Charles Crayne
<chuck@thor.crayne.org>
Tue, 27 Jan 2009 22:43:37 +0000
(14:43 -0800)
Module labels.c has code to issue error message when global
directive appears after symbol definition, but the test condition
was incorrectly punctuated.
labels.c
patch
|
blob
|
history
diff --git
a/labels.c
b/labels.c
index
b7a1b44
..
df32315
100644
(file)
--- a/
labels.c
+++ b/
labels.c
@@
-362,7
+362,7
@@
void declare_as_global(char *label, char *special, efunc error)
case GLOBAL_SYMBOL:
break;
case LOCAL_SYMBOL:
- if (!
lptr->defn.is_global & EXTERN_BIT
)
+ if (!
(lptr->defn.is_global & EXTERN_BIT)
)
error(ERR_NONFATAL, "symbol `%s': GLOBAL directive must"
" appear before symbol definition", label);
break;