mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-04-25 17:25:17 +02:00
Merge remote-tracking branch
'origin/GP-6556_emteere_PR-5884_nmschulte_nms_fix-cparser-strip-cast' (Closes #5884, Closes #6702, Closes #6701)
This commit is contained in:
@@ -878,10 +878,9 @@ public class DefineTable {
|
||||
pos = startPos;
|
||||
int endParen = strValue.indexOf(')', pos + 1);
|
||||
if (endParen != -1) {
|
||||
String subStr = strValue.substring(pos + 1, endParen);
|
||||
String subStr = strValue.substring(pos + 1, endParen).trim();
|
||||
if (subStr.length() > 0) {
|
||||
int subPos = 0;
|
||||
subStr = subStr.trim();
|
||||
boolean isValid = Character.isJavaIdentifierStart(subStr.charAt(0));
|
||||
while (isValid && subPos < subStr.length()) {
|
||||
char ch = subStr.charAt(subPos++);
|
||||
|
||||
Reference in New Issue
Block a user