This commit is contained in:
Paul 2000-12-12 20:51:59 +00:00
parent 5e18b667ef
commit bf7bd6c3ea
15 changed files with 350 additions and 161 deletions

View file

@ -18,6 +18,10 @@
#include "var.h"
#ifndef _LEXER_H
#include "lexer.h"
#endif
/* Std Lib
------- */
@ -65,6 +69,7 @@ static int s_numLocalVarNames=sizeof(s_localVarNames)/sizeof(char *);
Params:
Returns:
---------------------------------------------------------------------- */
extern mylexer s_lexer;
extern int lookupVarName(char *_name)
{
int i,vnum;
@ -90,7 +95,7 @@ extern int lookupVarName(char *_name)
}
printf("Unknown variable $%s\n",_name);
// s_errorCount++;
s_lexer.error();
return -1;
}