__emit: Use proper search criterion for global variables
This commit is contained in:
parent
b849d61487
commit
3706859c39
@ -6939,7 +6939,7 @@ static void emit_param_data(emit_outval *p)
|
|||||||
goto invalid_token;
|
goto invalid_token;
|
||||||
} /* if */
|
} /* if */
|
||||||
} else {
|
} else {
|
||||||
sym=findglb(str,sSTATIC);
|
sym=findglb(str,sSTATEVAR);
|
||||||
if (sym==NULL) {
|
if (sym==NULL) {
|
||||||
error(17,str); /* undefined symbol */
|
error(17,str); /* undefined symbol */
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user