ref: 129dff49d55a301171aa6e08bc6683c417735836
parent: a0ceaf5050faf419401fe1b83acfa950ec8a8a89
author: Tor Andersson <tor@ccxvii.net>
date: Thu Nov 17 11:21:27 EST 2016
Silence gcc 6 indentation warning.
--- a/jslex.c
+++ b/jslex.c
@@ -172,10 +172,10 @@
if (jsY_accept(J, '\\')) {
if (jsY_accept(J, 'u')) {
int x = 0;
- if (!jsY_ishex(J->lexchar)) goto error; x |= jsY_tohex(J->lexchar) << 12; jsY_next(J);
- if (!jsY_ishex(J->lexchar)) goto error; x |= jsY_tohex(J->lexchar) << 8; jsY_next(J);
- if (!jsY_ishex(J->lexchar)) goto error; x |= jsY_tohex(J->lexchar) << 4; jsY_next(J);
- if (!jsY_ishex(J->lexchar)) goto error; x |= jsY_tohex(J->lexchar);
+ if (!jsY_ishex(J->lexchar)) { goto error; } x |= jsY_tohex(J->lexchar) << 12; jsY_next(J);
+ if (!jsY_ishex(J->lexchar)) { goto error; } x |= jsY_tohex(J->lexchar) << 8; jsY_next(J);
+ if (!jsY_ishex(J->lexchar)) { goto error; } x |= jsY_tohex(J->lexchar) << 4; jsY_next(J);
+ if (!jsY_ishex(J->lexchar)) { goto error; } x |= jsY_tohex(J->lexchar);
J->lexchar = x;
return;
}