Add Rust target
This commit is contained in:
1 parent
5fc712c6ee
commit
89f1f84857
64 files changed
+3441
-27
No files matched your search
@@ -0,0 +1,9 @@
|
||||
use testparser::*;
|
||||
|
||||
fn main() {
|
||||
let mut c = p_context_new(b"aaa\n\n\na\n # comment 1\na a aa\n\naa\n# comment 2\na\n");
|
||||
assert_eq!(P_SUCCESS, p_parse(&mut c));
|
||||
eprint!("comments: {}", c.comments);
|
||||
eprintln!("acount: {}", c.acount);
|
||||
p_context_delete(c);
|
||||
}
|
||||
Reference in new issue
Block a user