fiddle
This commit is contained in:
parent
229470fee3
commit
b2e08fe207
|
@ -312,9 +312,8 @@ impl<'src> Process<'src> {
|
||||||
|
|
||||||
pub fn eval(&mut self) -> LResult<'src> {
|
pub fn eval(&mut self) -> LResult<'src> {
|
||||||
use Ast::*;
|
use Ast::*;
|
||||||
let root_node = self.ast;
|
let (root_node, root_span) = (self.ast, self.span);
|
||||||
let root_span = self.span;
|
let result = match root_node {
|
||||||
let result = match self.ast {
|
|
||||||
Nil => Ok(Value::Nil),
|
Nil => Ok(Value::Nil),
|
||||||
Boolean(b) => Ok(Value::Boolean(*b)),
|
Boolean(b) => Ok(Value::Boolean(*b)),
|
||||||
Number(n) => Ok(Value::Number(*n)),
|
Number(n) => Ok(Value::Number(*n)),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user