Skip to content

Commit

Permalink
Module reorganization (#2)
Browse files Browse the repository at this point in the history
* WIP

* Ignore directories

* Add debug. Minor modifications

* WIP

* Fix tests - add comments
  • Loading branch information
gitgabrio authored and rgdoliveira committed Oct 24, 2024
1 parent 5b86b49 commit d20f3af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions drools-drl/drools-drl10-parser/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,15 @@
<version>1.0.0-SNAPSHOT</version>
</parent>

<groupId>org.drools</groupId>
<artifactId>drools-parser</artifactId>
<version>1.0.0-SNAPSHOT</version>

<name>Drools :: Parser</name>

<dependencies>
<dependency>
<groupId>org.drools</groupId>
<artifactId>drools-drl-ast</artifactId>
<version>8.16.0.Beta</version>
<version>${version.drools-drl-ast}</version>
</dependency>

<!-- External dependencies -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ public static boolean isAfterSymbol(ParseTree node, int symbol, int row, int col
}

public static int getNodeIndex(ParseTree node) {
// TODO Fix NPE
if (node instanceof TerminalNode) {
return ((TerminalNode) node).getSymbol().getTokenIndex();
}
Expand Down

0 comments on commit d20f3af

Please sign in to comment.