librasn / compiler

An ASN1 compiler producing Rust bindings for the rasn framework
Other
10 stars 7 forks source link

Use `nom_locate::LocatedSpan` as lexer input #31

Open Rawk opened 4 weeks ago

Rawk commented 4 weeks ago

nom_locate keeps track of source file location of parsed input. This opens the future possibility to include source file location in error messages.

It could also be used to include source file location of parsed objects, for example to include it in generated output comments or for more details in later error messages.