mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-06-02 23:46:35 +08: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:
@@ -718,7 +718,7 @@ PARSER_END(CParser)
|
|||||||
|
|
||||||
TOKEN_MGR_DECLS :
|
TOKEN_MGR_DECLS :
|
||||||
{
|
{
|
||||||
static int parenNesting = 0;
|
int parenNesting = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
SKIP :
|
SKIP :
|
||||||
|
|||||||
@@ -437,7 +437,7 @@ public class PreProcessor {
|
|||||||
private HashMap<String, Integer> alreadyDone;
|
private HashMap<String, Integer> alreadyDone;
|
||||||
|
|
||||||
// Toggle printing
|
// Toggle printing
|
||||||
private static int verboseLevel = 0;
|
private int verboseLevel = 0;
|
||||||
|
|
||||||
public int verboseLevel() {
|
public int verboseLevel() {
|
||||||
int vl = verboseLevel;
|
int vl = verboseLevel;
|
||||||
@@ -1125,6 +1125,7 @@ public class PreProcessor {
|
|||||||
this.pathList = parent.pathList;
|
this.pathList = parent.pathList;
|
||||||
this.shift = parent.shift;
|
this.shift = parent.shift;
|
||||||
this.alreadyDone = parent.alreadyDone;
|
this.alreadyDone = parent.alreadyDone;
|
||||||
|
this.verboseLevel = parent.verboseLevel;
|
||||||
}
|
}
|
||||||
|
|
||||||
public PreProcessor(String[] args) throws ParseException {
|
public PreProcessor(String[] args) throws ParseException {
|
||||||
@@ -2174,7 +2175,7 @@ PPToken ValueExpression() :
|
|||||||
// LEXICAL SCANNER SECTION
|
// LEXICAL SCANNER SECTION
|
||||||
TOKEN_MGR_DECLS :
|
TOKEN_MGR_DECLS :
|
||||||
{
|
{
|
||||||
static int parenNesting = 0;
|
int parenNesting = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
<DEFAULT>
|
<DEFAULT>
|
||||||
|
|||||||
Reference in New Issue
Block a user