Get 1992/lush to work with gcc - won't with clang

I used a patch from Yusuke Endoh to get it to work with gcc. Due to the
different messages with different compilers it's expected that this
won't work with every compiler.

I provided a 'runme.sh' script to run the command in the correct way.

I made the entry use fgets() not gets().

I updated bugs.md pointing out that it does not work with clang and
alternative code is welcome.
This commit is contained in:
Cody Boone Ferguson committed 2023-03-28 07:42:07 -07:00
1 parent 3865049bde
commit b945ec015f
5 files changed
+41 -16

No files matched your search

+3 -3
View File
@@ -63,8 +63,8 @@
;;;}
;for
( ;
gets
(_);
fgets
(_,999,stdin);
) {
for(
#define f 301:
@@ -98,7 +98,7 @@
;if(
#define f 111:
#define f 220:
v^*t
t[2] && t[3] == 'w' && t[4] == 'a' && t[5] == 'r' && t[6] == 'n' && t[7] == 'i' && t[8] == 'n' && t[9] == 'g' && v^*t
&&*t
){v=
*t;;