new built-in getCurrentScriptDirectory; new cli option syntax; added -p option to profile programs and -H to set heap size; fixed a bug in string.cat
This commit is contained in:
+5
-5
@@ -8,13 +8,13 @@ Scanner = {
|
||||
consumeSpaces: Callable
|
||||
};
|
||||
|
||||
fun isSpace(c: String)
|
||||
return c == ' '
|
||||
or c == '\t'
|
||||
or c == '\n';
|
||||
|
||||
fun newScanner(src: String) {
|
||||
|
||||
fun isSpace(c: String)
|
||||
return c == ' '
|
||||
or c == '\t'
|
||||
or c == '\n';
|
||||
|
||||
scan = {
|
||||
src: src,
|
||||
i: 0,
|
||||
|
||||
Reference in New Issue
Block a user