mirror of
https://github.com/NationalSecurityAgency/ghidra
synced 2024-10-02 16:33:49 +00:00
GP-0_emteere minor SleighEditor bug fix for @if "!=" comparison
This commit is contained in:
parent
3e5a244838
commit
b966f85f76
|
@ -110,6 +110,9 @@ class SleighParsingTest {
|
|||
@if defined(ENDIAN)
|
||||
reg = tmp;
|
||||
@endif
|
||||
@if ENDIAN != "big"
|
||||
reg = N;
|
||||
@endif
|
||||
}
|
||||
|
||||
Dest: loc is op=0 [ loc = inst_next; ] { export loc; }
|
||||
|
|
|
@ -49,6 +49,7 @@ IsDefined:
|
|||
DefineTest:
|
||||
( '(' test=DefineTest ')'
|
||||
| symref=DefineSym OP_EQUAL value=(STRING|intvalue|ID)
|
||||
| symref=DefineSym OP_NOTEQUAL value=(STRING|intvalue|ID)
|
||||
| isdefined=IsDefined ) ( (OP_BOOL_AND andtest=DefineTest) | (OP_BOOL_OR ortest=DefineTest) )?
|
||||
;
|
||||
|
||||
|
|
Loading…
Reference in a new issue