Yes!
Thank you.
On 7/28/20 11:38, Axel Wagner wrote:
[External Email. Be cautious of content]
Maybe this helps?
https://golang.org/src/cmd/compile/doc.go#L153
<https://urldefense.com/v3/__https://golang.org/src/cmd/compile/doc.go*L153__;Iw!!NEt6yMaO-gk!SlX7HXyBDsi3JH4W9wJK6Fot9ltqulcQ3vK1SsKXdK8vOv8IKWkfnlQMBFNMg5X6-w$>
On Tue, Jul 28, 2020 at 8:35 PM 'K Richard Pixley' via golang-nuts
<golang-nuts@googlegroups.com <mailto:golang-nuts@googlegroups.com>>
wrote:
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
<mailto: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
<https://urldefense.com/v3/__https://groups.google.com/d/msgid/golang-nuts/20f63549-fe3a-4b41-6744-0b7545ee0423*40juniper.net?utm_medium=email&utm_source=footer__;JQ!!NEt6yMaO-gk!SlX7HXyBDsi3JH4W9wJK6Fot9ltqulcQ3vK1SsKXdK8vOv8IKWkfnlQMBFPFwNC2og$>.
--
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/02cb03a0-4dba-3edf-4ad9-7fb6fdfa557c%40juniper.net.