shithub: libmujs

ref: 42683b9b4ac2701a296a472ff73783f34f746dc8
dir: /js-parse.c/

View raw version
#include "js.h"
#include "js-parse.h"

int jsP_parse(js_State *J)
{
	int t;
	do {
		t = jsP_lex(J);
		if (t == TK_ERROR)
			return 1;
	} while (t);
	return 0;
}