ECMA-262 only supports "\uXXXX" style Unicode character escape and
we don't need extra space for character names.
* x-javascript.c: Don't include "uniname.h".
(phase2_pushback): Decrease to 5. Don't refer to UNINAME_MAX.
+2014-11-27 Daiki Ueno <ueno@gnu.org>
+
+ javascript: Simplify Unicode character escape handling
+ ECMA-262 only supports "\uXXXX" style Unicode character escape and
+ we don't need extra space for character names.
+ * x-javascript.c: Don't include "uniname.h".
+ (phase2_pushback): Decrease to 5. Don't refer to UNINAME_MAX.
+
2014-11-18 Daiki Ueno <ueno@gnu.org>
* read-mo.c: Include "xsize.h".
#include "c-strstr.h"
#include "c-ctype.h"
#include "po-charset.h"
-#include "uniname.h"
#include "unistr.h"
#include "gettext.h"
static lexical_context_ty lexical_context;
-static int phase2_pushback[max (9, UNINAME_MAX + 3)];
+/* Maximum used, length of "<![CDATA[" tag minus one. */
+static int phase2_pushback[8];
static int phase2_pushback_length;
/* Read the next Unicode UCS-4 character from the input file. */