mirror of
https://github.com/artegoser/ONLang
synced 2024-12-23 09:33:44 +03:00
Update interpreter.rs
This commit is contained in:
parent
cad4ec224b
commit
d2ecdfc997
1 changed files with 2 additions and 2 deletions
|
@ -14,8 +14,8 @@ pub struct Interpreter {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Interpreter {
|
impl Interpreter {
|
||||||
pub fn new(input: String) -> Interpreter {
|
pub fn new(input: String) -> Self {
|
||||||
Interpreter {
|
Self {
|
||||||
input,
|
input,
|
||||||
vars: HashMap::new(),
|
vars: HashMap::new(),
|
||||||
pos: 1,
|
pos: 1,
|
||||||
|
|
Loading…
Add table
Reference in a new issue