J-F-Liu / pom

PEG parser combinators using operator overloading without macros.
MIT License
500 stars 31 forks source link

Fix build on stable rust #7

Closed jsgf closed 7 years ago

jsgf commented 7 years ago

This fixes three issues that prevent pom from compiling with stable Rust:

There's still some differences between nightly and stable relating to a conflict over ::Parser and ::parser::Parser - in stable the use parser::* causes a duplicate import issue. I haven't found a completely clean fix for this yet.

Addresses #6

jsgf commented 7 years ago

Updated to fix imports to make the tests work, without resolving the underlying conflict between the Parser type and its alias.