Skip to content

Commit d047f42

Browse files
committed
Merge branch 'topic/lkql_jit/tab_in_sources' into 'master'
Align liblkqllang tab sizes to the Truffle ones Closes #464 See merge request eng/libadalang/langkit-query-language!433
2 parents 32576e0 + c2fcfa3 commit d047f42

File tree

4 files changed

+13
-1
lines changed

4 files changed

+13
-1
lines changed

lkql_jit/language/src/main/java/com/adacore/lkql_jit/LKQLLanguage.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,14 @@ public final class LKQLLanguage extends TruffleLanguage<LKQLContext> {
103103
/** A simple constructor for the library loading. */
104104
public LKQLLanguage() {
105105
super();
106-
this.lkqlAnalysisContext = Liblkqllang.AnalysisContext.create();
106+
this.lkqlAnalysisContext = Liblkqllang.AnalysisContext.create(
107+
null,
108+
null,
109+
null,
110+
null,
111+
true,
112+
1
113+
);
107114
// Set the color support flag
108115
SUPPORT_COLOR = System.getenv("TERM") != null && System.console() != null;
109116
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
val x = 42
2+
print( x )
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
42
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
driver: 'interpreter'
2+
project: 'default_project/default.gpr'

0 commit comments

Comments
 (0)