make more stuff public for use by extensions

pull/21/head
Ondřej Hruška 4 years ago
parent 822e7912aa
commit afd412f22a
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 504
      Cargo.lock
  2. 7
      crsn/src/asm/parse/mod.rs

504
Cargo.lock generated

File diff suppressed because it is too large Load Diff

@ -7,12 +7,11 @@ use crate::asm::instr::Op;
use crate::asm::parse::sexp_expect::expect_list; use crate::asm::parse::sexp_expect::expect_list;
use crate::module::CrsnExtension; use crate::module::CrsnExtension;
mod parse_cond; pub mod parse_cond;
mod parse_instr; pub mod parse_instr;
pub mod parse_data; pub mod parse_data;
pub mod sexp_expect; pub mod sexp_expect;
mod parse_op; pub mod parse_op;
pub mod arg_parser; pub mod arg_parser;
pub fn parse(source: &str, parsers: &[Box<dyn CrsnExtension>]) -> Result<Vec<Op>, CrsnError> { pub fn parse(source: &str, parsers: &[Box<dyn CrsnExtension>]) -> Result<Vec<Op>, CrsnError> {

Loading…
Cancel
Save