Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in Go code generator (fixes #3204) #3214

Merged
merged 1 commit into from
Jul 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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