* defs.h utils.c (fputc_filtered): New function. Does the obvious...
* jv-lang.c (java_printchar): Fix output of chars > 0xff. Fold java_emit_char into java_printchar. * language.h (PRINT_LITERAL_FORM): Reformat for readability.
This commit is contained in:
parent
7f44038a5f
commit
7b46dd00e4
3 changed files with 46 additions and 58 deletions
|
@ -318,8 +318,10 @@ set_language PARAMS ((enum language));
|
|||
and the "other representation" is '\141'. The "other representation"
|
||||
is program language dependent. */
|
||||
|
||||
#define PRINT_LITERAL_FORM(c) \
|
||||
((c)>=0x20 && ((c)<0x7F || (c)>=0xA0) && (!sevenbit_strings || (c)<0x80))
|
||||
#define PRINT_LITERAL_FORM(c) \
|
||||
((c) >= 0x20 \
|
||||
&& ((c) < 0x7F || (c) >= 0xA0) \
|
||||
&& (!sevenbit_strings || (c) < 0x80))
|
||||
|
||||
/* Return a format string for printf that will print a number in one of
|
||||
the local (language-specific) formats. Result is static and is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue