From fac4be50cddfcb52be67de6d79061e107ac9dea2 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 26 Aug 2010 03:21:39 -0400 Subject: [PATCH] Added FLAG ETIQUETTE ERROR BAD SCOUT NO BISCUIT runtime error. --- doc/ick.txi | 12 +++++++++++- src/arrgghh.c | 2 +- src/ick_lose.h | 4 ++++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/doc/ick.txi b/doc/ick.txi index 68d7656..4f1259e 100644 --- a/doc/ick.txi +++ b/doc/ick.txi @@ -1905,7 +1905,7 @@ not ship with the compiler; instead, you need to generate the library yourself from the cfunge sources. For more information, see @ref{Creating the Funge-98 Library}.) -@ieanchor E991 +@ieanchor E990 @cindex out of memory, multithreading @cindex out of memory, backtracking @cindex multithreading, out of memory @@ -1921,6 +1921,16 @@ respectively). However, your computer may not be able to cope; if it runs out of memory in the multithreader, it will cause this error at runtime. +@ieanchor E991 +@cindex unsupported file type +@cindex invocation flag, unnown +@quotation +FLAG ETIQUETTE FAILURE BAD SCOUT NO BISCUIT +@end quotation + +This error occurs at runtime if an INTERCAL program was passed an unknown +option flag. + @ieanchor E993 @cindex @code{TRY AGAIN}, not last @quotation diff --git a/src/arrgghh.c b/src/arrgghh.c index 9716fe6..25bd824 100644 --- a/src/arrgghh.c +++ b/src/arrgghh.c @@ -95,7 +95,7 @@ ick_parseargs(int argc, char **argv) fprintf(stderr," do anything, but you can switch them on or off\n"); fprintf(stderr," if you like anyway. Isn't this helpful?\n\n"); (void) fflush(stderr); - ick_lose(IE778, 0, (const char *)NULL); + ick_lose(IE990, 0, (const char *)NULL); } if(ick_wimp_mode) { fprintf(stderr,"How sad... you have selected to run an INTERCAL\n"); diff --git a/src/ick_lose.h b/src/ick_lose.h index 789b65a..38f66ca 100644 --- a/src/ick_lose.h +++ b/src/ick_lose.h @@ -159,6 +159,10 @@ /* (AIS) Unimplemented feature used. This should never come up, hopefully. */ #define IE995 "995 DO YOU REALLY EXPECT ME TO HAVE IMPLEMENTED THAT?\n\ ON THE WAY TO %d\n" +/* Unknown invocation flag */ +#define IE990 "990 FLAG ETIQUETTE FAILURE BAD SCOUT NO BISCUIT.\n\ + ON THE WAY TO %d\n" + /* * AIS: These errors are specific to PIC-INTERCAL */ -- 2.43.0