kmcallister / glassful

Rust-like syntax for OpenGL Shading Language
Apache License 2.0
171 stars 14 forks source link

Give correct line numbers in macro errors #3

Open kmcallister opened 9 years ago

kmcallister commented 9 years ago

The translation runs in a separate thread from rustc, in order to catch errors. So we may not be able to share libsyntax data structures. If that's the case, maybe we can hack up an acceptable codemap in the new parser context.