genprimopcode: parse error
Building git HEAD on powerpc-linux I get:
"inplace/bin/genprimopcode" --data-decl < compiler/stage1/build/primops.txt
> compiler/stage1/build/primop-data-decl.hs-incl
genprimopcode: parse error at "Parse error at line 42, column 8"
If I look at line 42 of compiler/stage1/build/primops.txt I see:
-- SCALAR_TYPE is the scalar type used to inject to/project from
vector
The word "vector" from the comment got wrapped onto the next line for no good reason.
I've checked the file compiler/prelude/primops.txt.pp which is processed to generate the file I'm having problems with and that file is fine.
I've cloned a new copy of the repo and done the usual perl boot && ./configure && make only to see exactly the same result.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.9 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |