This commit is contained in:
stag019 committed 2014-01-29 00:18:10 -05:00
commit 240d2a7f14
2 files changed
+11 -6

No files matched your search

+5 -5
View File
@@ -365,12 +365,12 @@ sym_GetValue(char *s)
}
return (getvaluefield(psym));
} else {
if ((nPass == 1) || (psym->nType & SYMF_IMPORT)) {
/* 0x80 seems like a good default value... */
return (0x80);
} else {
yyerror("'%s' not defined", s);
if (nPass == 2) {
/* Assume undefined symbols are imported from somewhere else */
psym->nType |= SYMF_IMPORT;
}
/* 0x80 seems like a good default value... */
return (0x80);
}
} else {
if (nPass == 1) {