Fixed "b -d" if there are .parameter directives with defined names (e.g.: .parameter "foo")

This commit is contained in:
Ryszard Wiśniewski 2013-05-02 23:47:26 +02:00
parent 6d542f997e
commit ae39555e3c

View File

@ -182,6 +182,11 @@ public class DebugInjector {
mOut.append(".parameter \"p").append(currParam++).append("\"\n"); mOut.append(".parameter \"p").append(currParam++).append("\"\n");
return false; return false;
} }
if (line2.startsWith("parameter")) {
mOut.append(line).append("\n");
currParam++;
return false;
}
append(line); append(line);
if (line2.equals("end method")) { if (line2.equals("end method")) {