Merge branch

'GP-1251_emteere_PR-3350_tchebb_eliminate-static-parser-state_patch'
into patch (Closes #1421, Closes #3350)
This commit is contained in:
Ryan Kurtz 2021-08-26 09:23:26 -04:00
commit adba376aca
2 changed files with 4 additions and 3 deletions

View File

@ -718,7 +718,7 @@ PARSER_END(CParser)
TOKEN_MGR_DECLS :
{
static int parenNesting = 0;
int parenNesting = 0;
}
SKIP :

View File

@ -437,7 +437,7 @@ public class PreProcessor {
private HashMap<String, Integer> alreadyDone;
// Toggle printing
private static int verboseLevel = 0;
private int verboseLevel = 0;
public int verboseLevel() {
int vl = verboseLevel;
@ -1125,6 +1125,7 @@ public class PreProcessor {
this.pathList = parent.pathList;
this.shift = parent.shift;
this.alreadyDone = parent.alreadyDone;
this.verboseLevel = parent.verboseLevel;
}
public PreProcessor(String[] args) throws ParseException {
@ -2174,7 +2175,7 @@ PPToken ValueExpression() :
// LEXICAL SCANNER SECTION
TOKEN_MGR_DECLS :
{
static int parenNesting = 0;
int parenNesting = 0;
}
<DEFAULT>