File tree 1 file changed +1
-1
lines changed
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -42,14 +42,14 @@ function lex<T>(parser: Parser<T>): Parser<T> {
42
42
const comment = match ( / # [ ^ \n \r ] * / , "comment" ) ;
43
43
const spaces = sourceOnly ( all ( choiceOnlyOne ( match ( / \s / , "space" ) , comment ) ) ) ;
44
44
const backtick = matchString ( "`" , "backtick" ) ;
45
+ const colon = matchString ( ":" , "colon" ) ;
45
46
46
47
const tokiPonaWord = lex ( match ( / [ a - z ] [ a - z A - Z ] * / , "word" ) ) ;
47
48
const openParenthesis = lex ( matchString ( "(" , "open parenthesis" ) ) ;
48
49
const closeParenthesis = lex ( matchString ( ")" , "close parenthesis" ) ) ;
49
50
const openBracket = lex ( matchString ( "[" , "open bracket" ) ) ;
50
51
const closeBracket = lex ( matchString ( "]" , "close bracket" ) ) ;
51
52
const comma = lex ( matchString ( "," , "comma" ) ) ;
52
- const colon = lex ( matchString ( ":" , "colon" ) ) ;
53
53
const semicolon = lex ( matchString ( ";" , "semicolon" ) ) ;
54
54
const slash = lex ( matchString ( "/" , "slash" ) ) ;
55
55
You can’t perform that action at this time.
0 commit comments