diff --git a/source/compiler/sc1.c b/source/compiler/sc1.c index dc702f6..cc70a26 100644 --- a/source/compiler/sc1.c +++ b/source/compiler/sc1.c @@ -6939,7 +6939,7 @@ static void emit_param_data(emit_outval *p) goto invalid_token; } /* if */ } else { - sym=findglb(str,sSTATIC); + sym=findglb(str,sSTATEVAR); if (sym==NULL) { error(17,str); /* undefined symbol */ return;