mirror of
https://github.com/rm-dr/daisy
synced 2025-07-01 06:33:34 -07:00
Reorganized variable code
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user