shithub: libmujs

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