chore(deps): update dependencies

This commit is contained in:
Chris Lane
2021-04-28 12:23:24 -04:00
parent e847956b02
commit 0aca411279
493 changed files with 16142 additions and 2916 deletions

View File

@ -6,14 +6,18 @@ import (
)
// Ebnf lexer.
var Ebnf = internal.Register(MustNewLexer(
var Ebnf = internal.Register(MustNewLazyLexer(
&Config{
Name: "EBNF",
Aliases: []string{"ebnf"},
Filenames: []string{"*.ebnf"},
MimeTypes: []string{"text/x-ebnf"},
},
Rules{
ebnfRules,
))
func ebnfRules() Rules {
return Rules{
"root": {
Include("whitespace"),
Include("comment_start"),
@ -47,5 +51,5 @@ var Ebnf = internal.Register(MustNewLexer(
"identifier": {
{`([a-zA-Z][\w \-]*)`, Keyword, nil},
},
},
))
}
}