I'm currently working with pigeon, a peg based parser generator.

When I...

 * make a go error in the source file, grammar.peg...
 * that is processed correctly by pigeon into an invalid grammar.go...
 * and the go compiler correctly complains about the error...
 * it complains about an error in grammar.go.

I wish it complained about the error in grammar.peg, with line number, and possibly column number.

I know how lex/yacc/byacc/bison/et all do this in C, (preprocessor statements).

How does one do this in go?

--
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/20f63549-fe3a-4b41-6744-0b7545ee0423%40juniper.net.

Reply via email to