shithub: libmujs

Download patch

ref: f10f1f06c8977927d05003b2b161372db1982ecf
parent: dd9217c6a0e06ae211e9f5db60dcb14d61295a76
author: Tor Andersson <tor@ccxvii.net>
date: Wed Feb 5 08:22:41 EST 2014

aoeu

--- a/Makefile
+++ b/Makefile
@@ -26,5 +26,10 @@
 tags: $(SRCS) main.c $(HDRS)
 	ctags $^
 
+test: js
+	python tests/sputniktests/tools/sputnik.py --tests=tests/sputniktests --command ./js --summary
+
 clean:
 	rm -f opnames.h build/* js
+
+.PHONY: default test clean
--- a/jsvalue.h
+++ b/jsvalue.h
@@ -67,7 +67,8 @@
 		} c;
 		struct {
 			void *prog;
-			int flags;
+			unsigned short flags;
+			unsigned short last;
 		} r;
 		struct {
 			js_Object *target;