diff options
| author | EVE <EVE@EVE-PC> | 2017-03-13 19:10:16 -0400 |
|---|---|---|
| committer | EVE <EVE@EVE-PC> | 2017-03-13 19:10:16 -0400 |
| commit | 94daa6feed501fcda1c12653ec21ad1a6b38f00d (patch) | |
| tree | 0490d21b7985962f8da6c5643275ee4735c92d07 /dice-lang/src/bjc/dicelang/CompilerTweaker.java | |
| parent | 01136c6796e21f023713e026674576d8e623462d (diff) | |
Update. Work on CLI help
Diffstat (limited to 'dice-lang/src/bjc/dicelang/CompilerTweaker.java')
| -rw-r--r-- | dice-lang/src/bjc/dicelang/CompilerTweaker.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dice-lang/src/bjc/dicelang/CompilerTweaker.java b/dice-lang/src/bjc/dicelang/CompilerTweaker.java index 3779f2b..95a8761 100644 --- a/dice-lang/src/bjc/dicelang/CompilerTweaker.java +++ b/dice-lang/src/bjc/dicelang/CompilerTweaker.java @@ -82,4 +82,12 @@ public class CompilerTweaker { opExpander.compile();
}
+ /**
+ * Change the max no. of times defines are allowed to recur.
+ *
+ * @param times The number of times to allow defines to recur.
+ */
+ public void setDefineRecurLimit(int times) {
+ Define.MAX_RECURS = times;
+ }
}
|
