Fix 1998/schnitzi for linux
It segfaulted due to wrong type of a variable. It still crashes under macOS which I will be looking at in the near future but it at least works for linux. I noted in the bugs.md a compiler warning that should not be changed as it's not a bug and in fact 'fixing' it will introduce a bug.
This commit is contained in:
1 parent
9e2b9667f1
commit
5506ea989d
4 files changed
+79
-49
No files matched your search
@@ -1,8 +1,8 @@
|
||||
typedef void e();
|
||||
|
||||
e *w,*l,*u,*_o,*j,*t,*O,exit,b,c_,b_,a_,c,a,z_,x_,d,y_,_m;
|
||||
int q,m,_d,z,k,h,f[99];
|
||||
char y[26],_p[40][26],_q,r[2],*_,**s,*i,
|
||||
e *w,*l,*u,*_o,*j,*t,*O,b,c_,b_,a_,c,a,z_,x_,d,y_,_m;
|
||||
int q,m,z,k,h,f[99];
|
||||
char y[26],_p[40][26],_q,r[2],*_,**s,*i,*_d,
|
||||
|
||||
*x[]= { "\n", ")", "if (", "}\n", ");\n\n", " ", ",&", "\"",
|
||||
",", " %%d", ";\n\n scanf(\"%%d", "%%d ", "else ", ",", "<",
|
||||
|
||||
Reference in new issue
Block a user