diff options
| author | bculkin2442 <bjculkin@mix.wvu.edu> | 2017-03-26 23:00:53 -0400 |
|---|---|---|
| committer | bculkin2442 <bjculkin@mix.wvu.edu> | 2017-03-26 23:00:53 -0400 |
| commit | 767ca1b248da19b754d42a814b71b43ef16090be (patch) | |
| tree | e281c684b0148be41dfdabe6d43467e81eefe20e /dice-lang/src/bjc/dicelang/CompilerTweaker.java | |
| parent | a7e84eea087a35721a971e827149f0ca5fba4676 (diff) | |
Update to BJC-Utils changes
Diffstat (limited to 'dice-lang/src/bjc/dicelang/CompilerTweaker.java')
| -rw-r--r-- | dice-lang/src/bjc/dicelang/CompilerTweaker.java | 6 |
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;
}
}
|
