File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -745,7 +745,7 @@ def scanner(string):
745745
746746def scan ():
747747 """
748- scan: applys function scanner() to each line of the source code.
748+ scan: applies function scanner() to each line of the source code.
749749 """
750750 global lines
751751 assert len (lines ) > 0 , "no lines"
@@ -1008,7 +1008,7 @@ def parser():
10081008 elif eax == 3 :
10091009 ecx = float (input (">> " ))
10101010
1011- elif eax == 4 : # output informations
1011+ elif eax == 4 : # output information
10121012 print (ecx )
10131013
10141014 elif token .token == "push" : # push commando
@@ -1157,7 +1157,7 @@ def parser():
11571157 pointer = jumps [token .token ]
11581158
11591159 else : # error case
1160- print ("Error: Unknow subprogram!" )
1160+ print ("Error: Unknown subprogram!" )
11611161 return
11621162
11631163 else : # error case
@@ -1169,7 +1169,7 @@ def parser():
11691169 pointer = returnStack .pop ()
11701170
11711171 else : # error case
1172- print ("Error: No return adress on stack" )
1172+ print ("Error: No return address on stack" )
11731173 return
11741174
11751175 elif token .t == "subprogram" :
You can’t perform that action at this time.
0 commit comments