shithub: libmujs

ref: bc914e674b0220b98a79fe8ee5329b7bd1b7257d
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;
}