mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-28 15:11:44 +00:00
Merge branch
'GP-1251_emteere_PR-3350_tchebb_eliminate-static-parser-state_patch' into patch (Closes #1421, Closes #3350)
This commit is contained in:
commit
adba376aca
@ -718,7 +718,7 @@ PARSER_END(CParser)
|
||||
|
||||
TOKEN_MGR_DECLS :
|
||||
{
|
||||
static int parenNesting = 0;
|
||||
int parenNesting = 0;
|
||||
}
|
||||
|
||||
SKIP :
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user