Skip to content

Commit

Permalink
use the generic name ANTLR instead of v4
Browse files Browse the repository at this point in the history
  • Loading branch information
lublak committed Apr 3, 2024
1 parent c55a36e commit 436eeb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions language.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ var Exts = map[string]string{
"f03": "FORTRAN Modern",
"f08": "FORTRAN Modern",
"gleam": "Gleam",
"g4": "ANTLR v4",
"g4": "ANTLR",
"go": "Go",
"go2": "Go",
"groovy": "Groovy",
Expand Down Expand Up @@ -508,7 +508,7 @@ func NewDefinedLanguages() *DefinedLanguages {
"Ada": NewLanguage("Ada", []string{"--"}, [][]string{{"", ""}}),
"Alda": NewLanguage("Alda", []string{"#"}, [][]string{{"", ""}}),
"Ant": NewLanguage("Ant", []string{"<!--"}, [][]string{{"<!--", "-->"}}),
"ANTLR v4": NewLanguage("ANTLR v4", []string{"//"}, [][]string{{"/*", "*/"}}),
"ANTLR": NewLanguage("ANTLR", []string{"//"}, [][]string{{"/*", "*/"}}),
"AsciiDoc": NewLanguage("AsciiDoc", []string{}, [][]string{{"", ""}}),
"Assembly": NewLanguage("Assembly", []string{"//", ";", "#", "@", "|", "!"}, [][]string{{"/*", "*/"}}),
"ATS": NewLanguage("ATS", []string{"//"}, [][]string{{"/*", "*/"}, {"(*", "*)"}}),
Expand Down

0 comments on commit 436eeb0

Please sign in to comment.