From: Vern Paxson Date: Mon, 5 Jul 1993 21:34:56 +0000 (+0000) Subject: Added check_char(), readable_form() X-Git-Tag: flex-2-5-5b~435 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3e5f3507a6c76366f63ec10b651ab656b94cbe06;p=flex Added check_char(), readable_form() --- diff --git a/flexdef.h b/flexdef.h index 23fe538..a605bf4 100644 --- a/flexdef.h +++ b/flexdef.h @@ -734,6 +734,9 @@ extern int all_upper PROTO((register Char *)); /* Bubble sort an integer array. */ extern void bubble PROTO((int [], int)); +/* Check a character to make sure it's in the expected range. */ +extern void check_char PROTO((int c)); + /* Shell sort a character array. */ extern void cshell PROTO((Char [], int, int)); @@ -766,6 +769,11 @@ extern void mkdata PROTO((int)); /* generate a data statement */ /* Return the integer represented by a string of digits. */ extern int myctoi PROTO((Char [])); +/* Return a printable version of the given character, which might be + * 8-bit + */ +extern char *readable_form PROTO((int)); + /* Write out one section of the skeleton file. */ extern void skelout PROTO((void));