mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-04-18 03:00:27 -04:00
fromCodePoint
This commit is contained in:
@@ -747,13 +747,16 @@ impl<'a> AssemblyParser<'a> {
|
||||
}
|
||||
|
||||
fn assemble_builtin(&mut self) -> Builtin {
|
||||
match self.parse_one_of(&["$Math", "$Debug"]).as_str() {
|
||||
match self.parse_one_of(&["$Math", "$Debug", "$String"]).as_str() {
|
||||
"$Math" => Builtin {
|
||||
name: "Math".to_string(),
|
||||
},
|
||||
"$Debug" => Builtin {
|
||||
name: "Debug".to_string(),
|
||||
},
|
||||
"$String" => Builtin {
|
||||
name: "String".to_string(),
|
||||
},
|
||||
_ => panic!("Shouldn't happen"),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user