Merge pull request #2241 from Kamilcuk/master
Add a comma to function characters
This commit is contained in:
commit
5e60f1eddb
|
@ -66,7 +66,7 @@ doubleQuote = char '"'
|
||||||
variableStart = upper <|> lower <|> oneOf "_"
|
variableStart = upper <|> lower <|> oneOf "_"
|
||||||
variableChars = upper <|> lower <|> digit <|> oneOf "_"
|
variableChars = upper <|> lower <|> digit <|> oneOf "_"
|
||||||
-- Chars to allow in function names
|
-- Chars to allow in function names
|
||||||
functionChars = variableChars <|> oneOf ":+?-./^@"
|
functionChars = variableChars <|> oneOf ":+?-./^@,"
|
||||||
-- Chars to allow in functions using the 'function' keyword
|
-- Chars to allow in functions using the 'function' keyword
|
||||||
extendedFunctionChars = functionChars <|> oneOf "[]*=!"
|
extendedFunctionChars = functionChars <|> oneOf "[]*=!"
|
||||||
specialVariable = oneOf (concat specialVariables)
|
specialVariable = oneOf (concat specialVariables)
|
||||||
|
|
Loading…
Reference in New Issue