3a287b864a
- Upgrade to rust 2018 - Update dependencies - Use BTree{Map,Set} instead of Map and Set
10 lines
198 B
Rust
10 lines
198 B
Rust
use crate::common::*;
|
|
|
|
pub fn compile(text: &str) {
|
|
if let Err(error) = Parser::parse(text) {
|
|
if let CompilationErrorKind::Internal { .. } = error.kind {
|
|
panic!("{}", error)
|
|
}
|
|
}
|
|
}
|