summaryrefslogtreecommitdiff
path: root/dice-lang/src/bjc/dicelang/CompilerTweaker.java
diff options
context:
space:
mode:
Diffstat (limited to 'dice-lang/src/bjc/dicelang/CompilerTweaker.java')
-rw-r--r--dice-lang/src/bjc/dicelang/CompilerTweaker.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/dice-lang/src/bjc/dicelang/CompilerTweaker.java b/dice-lang/src/bjc/dicelang/CompilerTweaker.java
index 41f0c10..e04f054 100644
--- a/dice-lang/src/bjc/dicelang/CompilerTweaker.java
+++ b/dice-lang/src/bjc/dicelang/CompilerTweaker.java
@@ -1,6 +1,6 @@
package bjc.dicelang;
-import bjc.utils.parserutils.TokenSplitter;
+import bjc.utils.parserutils.splitter.SimpleTokenSplitter;
/**
* Contains methods for customizing the DiceLang and SCL compilers.
@@ -12,7 +12,7 @@ public class CompilerTweaker {
* Bits of the compiler necessary
*/
private DiceLangEngine eng;
- private TokenSplitter opExpander;
+ private SimpleTokenSplitter opExpander;
public CompilerTweaker(DiceLangEngine eng) {
this.eng = eng;
@@ -88,7 +88,7 @@ public class CompilerTweaker {
* @param times
* The number of times to allow defines to recur.
*/
- public void setDefineRecurLimit(int times) {
+ public static void setDefineRecurLimit(int times) {
Define.MAX_RECURS = times;
}
}