Commit 325be699 authored by Gerdriaan Mulder's avatar Gerdriaan Mulder
Browse files

parser: make builtin functions again

parent 37e313b5
Pipeline #3595 failed with stage
...@@ -152,7 +152,7 @@ impl Parser { ...@@ -152,7 +152,7 @@ impl Parser {
pub fn parse_spl(&mut self) -> TopParseResult<SPL> { pub fn parse_spl(&mut self) -> TopParseResult<SPL> {
let offset = 0; let offset = 0;
let mut decls = Vec::new(); //make_builtin_functions(); let mut decls = make_builtin_functions();
let (new_decl, mut offset) = try_parse!(self.parse_decl(offset)); let (new_decl, mut offset) = try_parse!(self.parse_decl(offset));
decls.push(new_decl); decls.push(new_decl);
loop { loop {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment