Skip to content
This repository has been archived by the owner on Dec 18, 2020. It is now read-only.

Syntax error on generated structs #1

Open
Guiren opened this issue May 31, 2019 · 0 comments
Open

Syntax error on generated structs #1

Guiren opened this issue May 31, 2019 · 0 comments

Comments

@Guiren
Copy link

Guiren commented May 31, 2019

Hi. Just got an issue trying to go get the package.

  • Go version
    1.12.5, also tried on 1.11

  • What happens ?
    Calling go get github.com/xivapi/xivapi-go throws errors because of a generator syntax error :

$ go get github.com/xivapi/xivapi-go
# github.com/xivapi/xivapi-go
..\github.com\xivapi\xivapi-go\type_AnimaWeapon5Param_generated.go:15:25: syntax error: unexpected %, expecting type
..\github.com\xivapi\xivapi-go\type_AnimaWeapon5Param_generated.go:17:5: syntax error: unexpected %, expecting type
..\github.com\xivapi\xivapi-go\type_AnimaWeapon5Param_generated.go:18:8: syntax error: unexpected %, expecting type
..\github.com\xivapi\xivapi-go\type_AnimaWeapon5Param_generated.go:19:12: syntax error: unexpected %, expecting type
..\github.com\xivapi\xivapi-go\type_AnimaWeapon5Param_generated.go:20:16: syntax error: unexpected %, expecting type
..\github.com\xivapi\xivapi-go\type_AnimaWeapon5Param_generated.go:21:18: syntax error: unexpected %, expecting type
..\github.com\xivapi\xivapi-go\type_AnimaWeapon5Param_generated.go:24:8: syntax error: unexpected %, expecting type
..\github.com\xivapi\xivapi-go\type_AnimaWeapon5Param_generated.go:25:11: syntax error: unexpected %, expecting type
..\github.com\xivapi\xivapi-go\type_AnimaWeapon5Param_generated.go:26:20: syntax error: unexpected %, expecting type
..\github.com\xivapi\xivapi-go\type_AnimaWeapon5Param_generated.go:29:8: syntax error: unexpected %, expecting type
..\github.com\xivapi\xivapi-go\type_AnimaWeapon5Param_generated.go:29:8: too many errors

Some special characters are not allowed in variable names, thus these errors.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant