From ad60ec590765607077ae6141b4613a762f69a539 Mon Sep 17 00:00:00 2001 From: Derrell Lipman Date: Mon, 2 Oct 2006 02:36:27 +0000 Subject: r19019: Add a parser for javascript literals. This is implemented for parsing JSON strings, but is generally useful for creating ejs variables from object or array literals, which aren't supported in the old version of ejs that we're using. This parser is implemented in C, but is callable from an ejs script via literal_to_var(). (This used to be commit 82fdcd9339a8ffb1016b96c06f7d6580aa759174) --- source4/scripting/ejs/config.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4/scripting/ejs/config.mk') diff --git a/source4/scripting/ejs/config.mk b/source4/scripting/ejs/config.mk index ca73ce279a..09ad510a12 100644 --- a/source4/scripting/ejs/config.mk +++ b/source4/scripting/ejs/config.mk @@ -72,7 +72,8 @@ OBJ_FILES = \ smbcalls_creds.o \ smbcalls_param.o \ ejsnet.o \ - mprutil.o + mprutil.o \ + literal.o PUBLIC_DEPENDENCIES = \ EJS LIBSAMBA-UTIL \ EJSRPC MESSAGING \ -- cgit