move defs.txt to src/data/
This commit is contained in:
parent
2ecb976b14
commit
9c4167f6e9
|
@ -146,7 +146,7 @@ pub fn load_defs(
|
|||
) {
|
||||
let re1 = Regex::new(r"^\s*([a-z_-]+)\s+(.*)$").unwrap();
|
||||
let re2 = Regex::new("\"([^\"]*)\"|(-?[0-9]+[0-9e-]*(?:\\.[0-9e-]+)?)|([a-zA-Z_-][a-zA-Z0-9_-]*)").unwrap();
|
||||
let defs_string = include_str!("defs.txt");
|
||||
let defs_string = include_str!("data/defs.txt");
|
||||
let mut lines = defs_string.lines();
|
||||
let mut state = ParserState::default();
|
||||
let mut command;
|
||||
|
|
Loading…
Reference in a new issue