shithub: libmujs

Download patch

ref: d81fc84632ff5d9bdbec8914c4255c2a247052cf
parent: 74f2ad2c0bbe0e4c1d52d54265db2663c18bdb80
author: Tor Andersson <[email protected]>
date: Sat Jan 11 12:36:03 EST 2014

Improve regexp context detection.

--- a/jslex.c
+++ b/jslex.c
@@ -335,6 +335,7 @@
 	switch (last) {
 	case ']':
 	case ')':
+	case '}':
 	case TK_IDENTIFIER:
 	case TK_NUMBER:
 	case TK_STRING: