Skip to content

Commit

Permalink
Specify whitespace in Fennel lexer.
Browse files Browse the repository at this point in the history
  • Loading branch information
technomancy committed Jul 14, 2021
1 parent 3d6c736 commit 2c7da91
Show file tree
Hide file tree
Showing 2 changed files with 169 additions and 168 deletions.
1 change: 1 addition & 0 deletions lexers/f/fennel.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ func fennelRules() Rules {
return Rules{
"root": {
{`;.*$`, CommentSingle, nil},
{`\s+`, Whitespace, nil},
{`-?\d+\.\d+`, LiteralNumberFloat, nil},
{`-?\d+`, LiteralNumberInteger, nil},
{`0x-?[abcdef\d]+`, LiteralNumberHex, nil},
Expand Down
Loading

0 comments on commit 2c7da91

Please # to comment.