some fixes, and changed priority of unary minus

This commit is contained in:
ceriel
1987-06-18 15:46:08 +00:00
parent 9046645590
commit ca742a5d0c
13 changed files with 94 additions and 35 deletions

View File

@@ -24,6 +24,7 @@
#include "Lpars.h"
#include "class.h"
#include "idf.h"
#include "def.h"
#include "type.h"
#include "LLlex.h"
#include "const.h"
@@ -62,7 +63,7 @@ SkipComment()
of the names. Also, don't generate call to
initialization routine.
*/
ForeignFlag = 1;
ForeignFlag = D_FOREIGN;
break;
}
}
@@ -231,8 +232,6 @@ LLlex()
return tk->tk_symb;
}
tk->tk_lineno = LineNumber;
again1:
if (eofseen) {
eofseen = 0;
@@ -247,6 +246,8 @@ again:
}
}
tk->tk_lineno = LineNumber;
switch (class(ch)) {
case STNL:
@@ -254,7 +255,6 @@ again:
#ifdef DEBUG
cntlines++;
#endif
tk->tk_lineno++;
CheckForLineDirective();
goto again1;