From 78665f28d3077c0d381066ca4570c31bb81f475c Mon Sep 17 00:00:00 2001 From: Benjamin Attal Date: Thu, 5 Jun 2014 22:14:57 -0400 Subject: [PATCH] Fix for parser --- parsers/java/src/main/java/com/bitshift/parsing/parsers/JavaParser.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/parsers/java/src/main/java/com/bitshift/parsing/parsers/JavaParser.java b/parsers/java/src/main/java/com/bitshift/parsing/parsers/JavaParser.java index 75362a8..bea65d4 100644 --- a/parsers/java/src/main/java/com/bitshift/parsing/parsers/JavaParser.java +++ b/parsers/java/src/main/java/com/bitshift/parsing/parsers/JavaParser.java @@ -80,6 +80,8 @@ public class JavaParser extends Parser { int sl = this.root.getLineNumber(node.getStartPosition()); int sc = this.root.getColumnNumber(node.getStartPosition()); + int el = sl; + int ec = sc; if (statements.size() > 0) { Statement last = statements.get(statements.size() - 1);