File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 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> {
4242const comment = match ( / # [ ^ \n \r ] * / , "comment" ) ;
4343const spaces = sourceOnly ( all ( choiceOnlyOne ( match ( / \s / , "space" ) , comment ) ) ) ;
4444const backtick = matchString ( "`" , "backtick" ) ;
45+ const colon = matchString ( ":" , "colon" ) ;
4546
4647const tokiPonaWord = lex ( match ( / [ a - z ] [ a - z A - Z ] * / , "word" ) ) ;
4748const openParenthesis = lex ( matchString ( "(" , "open parenthesis" ) ) ;
4849const closeParenthesis = lex ( matchString ( ")" , "close parenthesis" ) ) ;
4950const openBracket = lex ( matchString ( "[" , "open bracket" ) ) ;
5051const closeBracket = lex ( matchString ( "]" , "close bracket" ) ) ;
5152const comma = lex ( matchString ( "," , "comma" ) ) ;
52- const colon = lex ( matchString ( ":" , "colon" ) ) ;
5353const semicolon = lex ( matchString ( ";" , "semicolon" ) ) ;
5454const slash = lex ( matchString ( "/" , "slash" ) ) ;
5555
You can’t perform that action at this time.
0 commit comments