diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | awkgram.c | 10 | ||||
-rw-r--r-- | awkgram.y | 10 |
3 files changed, 25 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2014-09-19 Arnold D. Robbins <arnold@skeeve.com> + + * awkgram.y: Further commentary as to the treacherousness + of isalnum and isalpha. + 2014-09-15 Arnold D. Robbins <arnold@skeeve.com> Finish removing use of isalpha and isalnum. @@ -8084,6 +8084,16 @@ install_builtins(void) /* is_alpha --- return true if c is an English letter */ +/* + * The scene of the murder was grisly to look upon. When the inspector + * arrived, the sergeant turned to him and said, "Another programmer stabbed + * in the back. He never knew what happened." + * + * The inspector replied, "Looks like the MO of isalpha, and his even meaner + * big brother, isalnum. The Locale brothers." The sergeant merely + * shuddered in horror. + */ + bool is_alpha(int c) { @@ -5745,6 +5745,16 @@ install_builtins(void) /* is_alpha --- return true if c is an English letter */ +/* + * The scene of the murder was grisly to look upon. When the inspector + * arrived, the sergeant turned to him and said, "Another programmer stabbed + * in the back. He never knew what happened." + * + * The inspector replied, "Looks like the MO of isalpha, and his even meaner + * big brother, isalnum. The Locale brothers." The sergeant merely + * shuddered in horror. + */ + bool is_alpha(int c) { |