Get the tests runnable again.

This commit is contained in:
A Pottinger
2021-10-10 11:30:24 -07:00
parent 6be2ad128b
commit 5d56e43a7d
18 changed files with 30 additions and 6 deletions

View File

@@ -325,6 +325,10 @@ public class PdeParseTreeListener extends ProcessingBaseListener {
public void exitMethodCall(ProcessingParser.MethodCallContext ctx) {
String methodName = ctx.getChild(0).getText();
// Check if calling on something other than this.
//System.out.println(ctx.getParent());
// If referring to the applet, check for rewrites.
if (SIZE_METHOD_NAME.equals(methodName) || FULLSCREEN_METHOD_NAME.equals(methodName)) {
handleSizeCall(ctx);
} else if (PIXEL_DENSITY_METHOD_NAME.equals(methodName)) {