mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
ECMAScript: Fix previous careless SEE changes.
This commit is contained in:
parent
1c0598d5ba
commit
45b194d1e7
@ -112,8 +112,8 @@ append_unicode_to_SEE_string(struct SEE_interpreter *interp,
|
|||||||
* surrogate range? */
|
* surrogate range? */
|
||||||
SEE_string_addch(str, u);
|
SEE_string_addch(str, u);
|
||||||
} else if (u <= 0x10FFFF) {
|
} else if (u <= 0x10FFFF) {
|
||||||
SEE_string_addch(0xD800 + ((u - 0x10000) >> 10));
|
SEE_string_addch(str, 0xD800 + ((u - 0x10000) >> 10));
|
||||||
SEE_string_addch(0xDC00 + (u & 0x3FF));
|
SEE_string_addch(str, 0xDC00 + (u & 0x3FF));
|
||||||
} else {
|
} else {
|
||||||
/* str->interpreter exists but is not documented, so don't
|
/* str->interpreter exists but is not documented, so don't
|
||||||
* use it; use a separate @interp parameter instead.
|
* use it; use a separate @interp parameter instead.
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
#ifndef EL__ECMASCRIPT_SEE_INPUT_H
|
#ifndef EL__ECMASCRIPT_SEE_INPUT_H
|
||||||
#define EL__ECMASCRIPT_SEE_INPUT_H
|
#define EL__ECMASCRIPT_SEE_INPUT_H
|
||||||
|
|
||||||
|
#include "intl/charsets.h"
|
||||||
|
|
||||||
struct SEE_interpreter;
|
struct SEE_interpreter;
|
||||||
struct SEE_string;
|
struct SEE_string;
|
||||||
struct SEE_value;
|
struct SEE_value;
|
||||||
|
Loading…
Reference in New Issue
Block a user