Compilation is failing during parsing, not compiling, and parsing is automated by Bison, so I'm hesitant to blame the compiler.
Could you please export the buffer and give me the exact .z file you're trying to compile? I agree with Saffith, there's almost certainly an extraneous { on line 1.