I’ve modified 13 lines code of golang engine to support allman style: https://github.com/forkgo-org/go/blob/master/src/cmd/compile/internal/syntax/scanner.go#L119
and my final go binnary can successfully run and build allman style go files,
it seems that everything is OK,
but I don’t know what’s the usage of the file: github/forkgo-org/go/blob/master/src/go/scanner/scanner.go#L864
and I can’t figure out how to modify it to keep it consistent with: github/forkgo-org/go/blob/master/src/cmd/compile/internal/syntax/scanner.go#L119
Why are there 2 scanner.go files? Can we merge them into one?
Sorry for forking golang go, blame me softly please.
Welcolm to help me fix the github/forkgo-org/go/blob/master/src/go/scanner/scanner.go#L864