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