mirror of
https://github.com/vonhyou/lisp-interpreter.git
synced 2025-06-08 02:02:01 +00:00
bugfix......
This commit is contained in:
parent
dc17338d40
commit
d9453149e0
1 changed files with 1 additions and 1 deletions
2
prol.rb
2
prol.rb
|
@ -27,7 +27,7 @@ module Lisp
|
|||
lst
|
||||
end
|
||||
|
||||
def self.read_tokens(tokens, lst = [])
|
||||
def self.read_tokens(tokens)
|
||||
# read expressions from token
|
||||
raise SyntaxError, 'Unexpected EOF' if tokens.empty?
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue