nicer parameter name

This commit is contained in:
rusefillc 2021-11-24 13:16:13 -05:00
parent 3ac46c98f2
commit 563b129a10
1 changed files with 2 additions and 2 deletions

View File

@ -134,7 +134,7 @@ public class LiveDataParserPanel {
return parser.translationUnit();
}
public static ParseResult applyVariables(VariableValueSource valueSource, String s, SourceCodePainter painter, ParseTree tree) {
public static ParseResult applyVariables(VariableValueSource valueSource, String sourceCode, SourceCodePainter painter, ParseTree tree) {
Stack<Boolean> currentState = new Stack<>();
currentState.add(Boolean.TRUE);
@ -143,7 +143,7 @@ public class LiveDataParserPanel {
new ParseTreeWalker().walk(new CPP14ParserBaseListener() {
@Override
public void enterStatement(CPP14Parser.StatementContext ctx) {
String origin = getOrigin(ctx, s);
String origin = getOrigin(ctx, sourceCode);
// System.out.println("enter statement [" + origin + "]");
}