shithub: libmujs

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