diff --git a/src/commands.rs b/src/commands.rs index 86339bd..0f6ba4e 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -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; diff --git a/src/defs.txt b/src/data/defs.txt similarity index 100% rename from src/defs.txt rename to src/data/defs.txt