Try fixing formatting of 1985/sicherman thanks

This commit is contained in:
Cody Boone Ferguson committed 2023-10-27 09:54:31 -07:00
1 parent 86489389c6
commit dd2fe1ff74
1 file changed
+10 -10
+10 -10
View File
@@ -254,13 +254,13 @@ be changed to use the token paste C preprocessor operator for reasons that will
be explained below. No other macro had to be changed. be explained below. No other macro had to be changed.
- The code: - The code:
C="Lint says "argument Manual isn't used." What's that C="Lint says "argument Manual isn't used." What's that
mean?"; while (write((read(C_C('"'-'/*"'/*"*/))?__:__-_+ mean?"; while (write((read(C_C('"'-'/*"'/*"*/))?__:__-_+
had to be changed to: had to be changed to:
"Lint says argument Manual isn't used." "What's that\ "Lint says argument Manual isn't used." "What's that\
mean?"; while (write((read(('"'-'/*"'/*"*/))?__:__-_+ mean?"; while (write((read(('"'-'/*"'/*"*/))?__:__-_+
because C cannot be assigned to (see above) and because the string is broken because C cannot be assigned to (see above) and because the string is broken
up where it has symbols that are not strings. up where it has symbols that are not strings.
@@ -273,15 +273,15 @@ C Manual)`.
- The code in `main()` is the significant change as the macros had to be - The code in `main()` is the significant change as the macros had to be
replaced for actual code so that instead of having the while loop condition as: replaced for actual code so that instead of having the while loop condition as:
while (read(0,&__,1) & write((_=(_=C_C_(__),C)), while (read(0,&__,1) & write((_=(_=C_C_(__),C)),
_C_,1)) _=C-V+subr(&V); _C_,1)) _=C-V+subr(&V);
we have it as: we have it as:
while (read(0,&__,1) & write((_=(_=~' '&__,/*/)), while (read(0,&__,1) & write((_=(_=~' '&__,/*/)),
_C_,1)) _=/*/-('\b'b'\b'>=_|_>'\t'b'\n'))?__:__-_+ _C_,1)) _=/*/-('\b'b'\b'>=_|_>'\t'b'\n'))?__:__-_+
'\b'b'\b'|((_-52)%('\b'b'\b'+~' '&'\t'b'\n')+1),1), '\b'b'\b'|((_-52)%('\b'b'\b'+~' '&'\t'b'\n')+1),1),
&_,1))/*_=C-V+subr(&V)*/; &_,1))/*_=C-V+subr(&V)*/;
- Finally, the function `subr()` cannot be called in the body of the `while()` - Finally, the function `subr()` cannot be called in the body of the `while()`
loop as calling it will result in incorrect output, once you even get it to loop as calling it will result in incorrect output, once you even get it to