Commit 3c6b2bf9 authored by Stefan Marr's avatar Stefan Marr

Fixed typos

Signed-off-by: default avatarStefan Marr <git@stefan-marr.de>
parent 7464ef70
......@@ -252,7 +252,7 @@ class Parser(object):
mgenc.remove_last_bytecode()
self._bc_gen.emitRETURNLOCAL(mgenc)
mgenc.setfinished()
mgenc.set_finished()
elif self._sym == Symbol.EndTerm:
# it does not matter whether a period has been seen, as the end of
# the method has been found (EndTerm) - so it is safe to emit a
......
......@@ -176,14 +176,14 @@ class Universe(object):
self._load_system_class(self._doubleClass)
# Load the generic block class
self._blockClass = self._load_class(self._symbol_for("Block"))
self._blockClass = self.load_class(self.symbol_for("Block"))
# Setup the true and false objects
self._trueObject = self._new_instance(self._load_class(self.symbol_for("True")))
self._falseObject = self._new_instance(self._load_class(self.symbol_for("False")))
self._trueObject = self._new_instance(self.load_class(self.symbol_for("True")))
self._falseObject = self._new_instance(self.load_class(self.symbol_for("False")))
# Load the system class and create an instance of it
self._systemClass = self._load_class(self.symbol_for("System"))
self._systemClass = self.load_class(self.symbol_for("System"))
system_object = self._new_instance(self._systemClass)
# Put special objects and classes into the dictionary of globals
......
Markdown is supported
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