Browse Source

Fix for parser

tags/v1.0^2
Benjamin Attal 10 years ago
parent
commit
78665f28d3
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      parsers/java/src/main/java/com/bitshift/parsing/parsers/JavaParser.java

+ 2
- 0
parsers/java/src/main/java/com/bitshift/parsing/parsers/JavaParser.java View File

@@ -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);


Loading…
Cancel
Save