Reorganized variable code

This commit is contained in:
2023-06-14 16:15:51 -07:00
parent 5ffad0cc4e
commit 00a421756d
10 changed files with 39 additions and 47 deletions

View File

@ -100,7 +100,7 @@ pub fn write(target: &Path) {
for c in constants {
writeln!(file,
"\t\t\tConstant::{e} => parse(&String::from(\"{s}\")).unwrap(),",
"\t\t\tConstant::{e} => parse_no_context(&String::from(\"{s}\")).unwrap(),",
e = c["enum_name"].as_str().unwrap(),
s = c["value"].as_str().unwrap()
).unwrap();