public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
decda89
)
Changed calls to "setrandom" into calls to "setrand" and
author
keie
<none@none>
Mon, 21 Jan 1985 14:48:16 +0000
(14:48 +0000)
committer
keie
<none@none>
Mon, 21 Jan 1985 14:48:16 +0000
(14:48 +0000)
calls to "randomize" inro calls to "randomi" to avoid
problems with routines compiled by C.
lang/basic/src.old/basic.yacc
patch
|
blob
|
history
diff --git
a/lang/basic/src.old/basic.yacc
b/lang/basic/src.old/basic.yacc
index
8663a86
..
14eb16d
100644
(file)
--- a/
lang/basic/src.old/basic.yacc
+++ b/
lang/basic/src.old/basic.yacc
@@
-362,10
+362,10
@@
printlist: expression { printstmt($1); $$=1;}
pokestmt: POKESYM expression ',' expression {pokestmt($2,$4);}
;
randomizestmt: RANDOMIZESYM
- { emcode("cal","$_randomi
ze
");}
+ { emcode("cal","$_randomi");}
| RANDOMIZESYM expression
{ conversion($2,INTTYPE);
- emcode("cal","$_setrand
om
");
+ emcode("cal","$_setrand");
emcode("asp",EMINTSIZE);}
readstmt: READSYM {setchannel(0);} variable { readelm($3);}