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,7 +6,7 @@ import (
)
// Cobol lexer.
var Cobol = internal.Register(MustNewLexer(
var Cobol = internal.Register(MustNewLazyLexer(
&Config{
Name: "COBOL",
Aliases: []string{"cobol"},
@ -14,7 +14,11 @@ var Cobol = internal.Register(MustNewLexer(
MimeTypes: []string{"text/x-cobol"},
CaseInsensitive: true,
},
Rules{
cobolRules,
))
func cobolRules() Rules {
return Rules{
"root": {
Include("comment"),
Include("strings"),
@ -47,5 +51,5 @@ var Cobol = internal.Register(MustNewLexer(
{`[+-]?\d*\.\d+(E[-+]?\d+)?`, LiteralNumberFloat, nil},
{`[+-]?\d+\.\d*(E[-+]?\d+)?`, LiteralNumberFloat, nil},
},
},
))
}
}