]> thyrsus.com Git - intercal.git/commitdiff
Added FLAG ETIQUETTE ERROR BAD SCOUT NO BISCUIT runtime error.
authorEric S. Raymond <esr@thyrsus.com>
Thu, 26 Aug 2010 07:21:39 +0000 (03:21 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 26 Aug 2010 07:21:39 +0000 (03:21 -0400)
doc/ick.txi
src/arrgghh.c
src/ick_lose.h

index 68d76567d7a7f7b50d8537d4d758f3e03dc53122..4f1259edbbfb50c461ab40b629f8d3357fe32bfb 100644 (file)
@@ -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
index 9716fe609be81f1e57846b23373c8204d7e038fc..25bd8247299051ebdc6660e192c4444defc0aae0 100644 (file)
@@ -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");
index 789b65a96358a35ad42b706a621031591b3bbde0..38f66caebaa23958fb309833ded11eee88e5b9bf 100644 (file)
 /* (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
  */