alecthomas / alecthomas/participle
Is it possible to get a report on which production was being handled when an error arose?
Offen
- Vorherrschende Sprache
- Go
- Sterne
- 3.9k
- Forks
- 213
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Here's an error message I encountered while using participle to parse a value change dump (VCD) file. See: https://github.com/filmil/go-vcd-parser/pull/2.
```
unexpected token "V" (expected )
```
Now participle is of course correct. But it is not exactly helpful. It does not tell me which production was parsed when the error occurred. I have multiple productions that may end with keyword `$end`. And one of the issues may be that my grammar has started parsing a wrong production somehow.
Perhaps this is already supported?
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.