Basic
- Updated `shout()` to remove rolling - Removed `roll()` - Added function and module name as well
This commit is contained in:
parent
fdd7732245
commit
13a7b52bbd
|
@ -684,15 +684,9 @@ public final class BasicLexer : LexerInterface
|
|||
}
|
||||
}
|
||||
|
||||
private int rolled = 0;
|
||||
private int roll()
|
||||
private void shout(int i = __LINE__, string mod = __MODULE__, string func = __FUNCTION__)
|
||||
{
|
||||
return rolled++;
|
||||
}
|
||||
|
||||
private void shout(int i = __LINE__)
|
||||
{
|
||||
gprintln("Unittest ("~to!(string)(roll())~") at "~to!(string)(i));
|
||||
gprintln("Unittest at "~to!(string)(i)~" in "~func~" (within module "~mod~")");
|
||||
}
|
||||
|
||||
/* Test input: `hello "world";` */
|
||||
|
|
Loading…
Reference in New Issue