1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 13:09:22 +00:00

Add a comment.

This commit is contained in:
Bruno Haible
2000-08-21 08:59:22 +00:00
parent d22dd3f6e6
commit a9c012bc38

View File

@@ -827,6 +827,10 @@ output_string (const char *key, int len)
} }
else else
{ {
/* Use octal escapes, not hexadecimal escapes, because some old
C compilers didn't understand hexadecimal escapes, and because
hexadecimal escapes are not limited to 2 digits, thus needing
special care if the following character happens to be a digit. */
putchar ('\\'); putchar ('\\');
putchar ('0' + ((c >> 6) & 7)); putchar ('0' + ((c >> 6) & 7));
putchar ('0' + ((c >> 3) & 7)); putchar ('0' + ((c >> 3) & 7));