Skip to content

Commit

Permalink
Merge pull request #3214 from marcauberer/master
Browse files Browse the repository at this point in the history
Fix typo in Go code generator (fixes #3204)
  • Loading branch information
ericvergnaud authored Jul 7, 2021
2 parents 1512ef3 + 413943d commit 04f4768
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions contributors.txt
Original file line number Diff line number Diff line change
Expand Up @@ -302,3 +302,4 @@ YYYY/MM/DD, github id, Full name, email
2021/05/04, joakker, Joaquín León, joaquinandresleon108@gmail.com
2021/05/06, renancaraujo, Renan C. Araújo, renancaraujo@users.noreply.github.com
2021/05/06, canastro, Ricardo Canastro, ricardocanastro@users.noreply.github.com
2021/07/01, marcauberer, Marc Auberer, marc.auberer@chillibits.com
2 changes: 1 addition & 1 deletion tool/src/org/antlr/v4/codegen/target/GoTarget.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class GoTarget extends Target {
// predeclared identifiers https://golang.org/ref/spec#Predeclared_identifiers
private static final String[] goPredeclaredIdentifiers = {
"bool", "byte", "complex64", "complex128", "error", "float32", "float64",
"int", ",int8", "int16", "int32", "int64", "rune", "string",
"int", "int8", "int16", "int32", "int64", "rune", "string",
"uint", "uint8", "uint16", "uint32", "uint64", "uintptr",
"true", "false", "iota", "nil",
"append", "cap", "close", "complex", "copy", "delete", "imag", "len",
Expand Down

0 comments on commit 04f4768

Please sign in to comment.