mirror of
https://github.com/peklaiho/madlisp.git
synced 2024-11-22 21:35:03 +00:00
ignore colon in tokenizer
This commit is contained in:
parent
c633d39b07
commit
3463024a07
@ -50,8 +50,8 @@ class Tokenizer
|
||||
// Start of comment
|
||||
$addCurrent();
|
||||
$isComment = true;
|
||||
} elseif ($c == ' ' || $c == "\t" || $c == "\n" || $c == "\r") {
|
||||
// Whitespace is ignored
|
||||
} elseif ($c == ' ' || $c == "\t" || $c == "\n" || $c == "\r" || $c == ':') {
|
||||
// Whitespace and colon are ignored
|
||||
$addCurrent();
|
||||
} elseif ($c == '(' || $c == '[' || $c == '{') {
|
||||
// Start of collection
|
||||
|
Loading…
Reference in New Issue
Block a user