diff options
author | Charles Crayne <chuck@thor.crayne.org> | 2009-01-27 14:43:37 -0800 |
---|---|---|
committer | Charles Crayne <chuck@thor.crayne.org> | 2009-01-27 14:43:37 -0800 |
commit | dd1e6f5c37cbd0b03c69726aebc84bf8861a686e (patch) | |
tree | 8e86e40121125178ded54b89aec3f7d17f749ad6 | |
parent | e5fdc60c2bc62ed7ba3a0339885c9c26939653d9 (diff) | |
download | nasm-dd1e6f5c37cbd0b03c69726aebc84bf8861a686e.tar.gz nasm-dd1e6f5c37cbd0b03c69726aebc84bf8861a686e.tar.bz2 nasm-dd1e6f5c37cbd0b03c69726aebc84bf8861a686e.zip |
Fix Bugs item #2537867
Module labels.c has code to issue error message when global
directive appears after symbol definition, but the test condition
was incorrectly punctuated.
-rw-r--r-- | labels.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |