rename complete, tests pass

This commit is contained in:
Kyle Maxwell 2009-03-03 21:39:30 -08:00
parent 712f3a64e3
commit 67a27813de
8 changed files with 86 additions and 97 deletions

10
.gitignore vendored
View File

@ -3,6 +3,8 @@
*.lo
dexterc
dexter
parsleyc
parsley
.deps/
Makefile
y.tab.c
@ -12,12 +14,12 @@ config.log
configure.scan
parser.c
scanner.c
libdexter.la
libparsley.la
parser.h
test.log
ruby/dexter*.gem
ruby/ext/cdexter.bundle
ruby/ext/cdexter.so
ruby/parsley*.gem
ruby/ext/cparsley.bundle
ruby/ext/cparsley.so
ruby/ext/Makefile
ruby/ext/conftest.dSYM/
work

View File

@ -34,7 +34,7 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
bin_PROGRAMS = dexterc$(EXEEXT) dexter$(EXEEXT)
bin_PROGRAMS = parsleyc$(EXEEXT) parsley$(EXEEXT)
subdir = .
DIST_COMMON = $(am__configure_deps) $(include_HEADERS) \
$(srcdir)/Makefile.am $(srcdir)/Makefile.in \
@ -59,19 +59,19 @@ am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \
"$(DESTDIR)$(includedir)"
libLTLIBRARIES_INSTALL = $(INSTALL)
LTLIBRARIES = $(lib_LTLIBRARIES)
libdexter_la_LIBADD =
am_libdexter_la_OBJECTS = parsley_mem.lo xml2json.lo regexp.lo printbuf.lo \
functions.lo util.lo kstring.lo obstack.lo scanner.lo \
parser.lo dexter.lo
libdexter_la_OBJECTS = $(am_libdexter_la_OBJECTS)
libparsley_la_LIBADD =
am_libparsley_la_OBJECTS = parsley_mem.lo xml2json.lo regexp.lo \
printbuf.lo functions.lo util.lo kstring.lo obstack.lo \
scanner.lo parser.lo parsley.lo
libparsley_la_OBJECTS = $(am_libparsley_la_OBJECTS)
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
PROGRAMS = $(bin_PROGRAMS)
am_dexter_OBJECTS = dexter_main.$(OBJEXT)
dexter_OBJECTS = $(am_dexter_OBJECTS)
dexter_DEPENDENCIES = libdexter.la
am_dexterc_OBJECTS = dexterc_main.$(OBJEXT)
dexterc_OBJECTS = $(am_dexterc_OBJECTS)
dexterc_DEPENDENCIES = libdexter.la
am_parsley_OBJECTS = parsley_main.$(OBJEXT)
parsley_OBJECTS = $(am_parsley_OBJECTS)
parsley_DEPENDENCIES = libparsley.la
am_parsleyc_OBJECTS = parsleyc_main.$(OBJEXT)
parsleyc_OBJECTS = $(am_parsleyc_OBJECTS)
parsleyc_DEPENDENCIES = libparsley.la
DEFAULT_INCLUDES = -I.@am__isrc@
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
@ -91,9 +91,10 @@ YLWRAP = $(top_srcdir)/ylwrap
YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
LTYACCCOMPILE = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
--mode=compile $(YACC) $(YFLAGS) $(AM_YFLAGS)
SOURCES = $(libdexter_la_SOURCES) $(dexter_SOURCES) $(dexterc_SOURCES)
DIST_SOURCES = $(libdexter_la_SOURCES) $(dexter_SOURCES) \
$(dexterc_SOURCES)
SOURCES = $(libparsley_la_SOURCES) $(parsley_SOURCES) \
$(parsleyc_SOURCES)
DIST_SOURCES = $(libparsley_la_SOURCES) $(parsley_SOURCES) \
$(parsleyc_SOURCES)
includeHEADERS_INSTALL = $(INSTALL_HEADER)
HEADERS = $(include_HEADERS)
ETAGS = etags
@ -228,13 +229,13 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
AM_YFLAGS = -d
BUILT_SOURCES = parser.h
lib_LTLIBRARIES = libdexter.la
libdexter_la_SOURCES = parsley_mem.c xml2json.c regexp.c printbuf.c functions.c util.c kstring.c obstack.c scanner.l parser.y dexter.c
include_HEADERS = dexter.h obstack.h xml2json.h
dexterc_SOURCES = dexterc_main.c
dexterc_LDADD = libdexter.la
dexter_SOURCES = dexter_main.c
dexter_LDADD = libdexter.la
lib_LTLIBRARIES = libparsley.la
libparsley_la_SOURCES = parsley_mem.c xml2json.c regexp.c printbuf.c functions.c util.c kstring.c obstack.c scanner.l parser.y parsley.c
include_HEADERS = parsley.h obstack.h xml2json.h
parsleyc_SOURCES = parsleyc_main.c
parsleyc_LDADD = libparsley.la
parsley_SOURCES = parsley_main.c
parsley_LDADD = libparsley.la
all: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) all-am
@ -305,8 +306,8 @@ parser.h: parser.c
rm -f parser.c; \
$(MAKE) $(AM_MAKEFLAGS) parser.c; \
else :; fi
libdexter.la: $(libdexter_la_OBJECTS) $(libdexter_la_DEPENDENCIES)
$(LINK) -rpath $(libdir) $(libdexter_la_OBJECTS) $(libdexter_la_LIBADD) $(LIBS)
libparsley.la: $(libparsley_la_OBJECTS) $(libparsley_la_DEPENDENCIES)
$(LINK) -rpath $(libdir) $(libparsley_la_OBJECTS) $(libparsley_la_LIBADD) $(LIBS)
install-binPROGRAMS: $(bin_PROGRAMS)
@$(NORMAL_INSTALL)
test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
@ -335,12 +336,12 @@ clean-binPROGRAMS:
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
dexter$(EXEEXT): $(dexter_OBJECTS) $(dexter_DEPENDENCIES)
@rm -f dexter$(EXEEXT)
$(LINK) $(dexter_OBJECTS) $(dexter_LDADD) $(LIBS)
dexterc$(EXEEXT): $(dexterc_OBJECTS) $(dexterc_DEPENDENCIES)
@rm -f dexterc$(EXEEXT)
$(LINK) $(dexterc_OBJECTS) $(dexterc_LDADD) $(LIBS)
parsley$(EXEEXT): $(parsley_OBJECTS) $(parsley_DEPENDENCIES)
@rm -f parsley$(EXEEXT)
$(LINK) $(parsley_OBJECTS) $(parsley_LDADD) $(LIBS)
parsleyc$(EXEEXT): $(parsleyc_OBJECTS) $(parsleyc_DEPENDENCIES)
@rm -f parsleyc$(EXEEXT)
$(LINK) $(parsleyc_OBJECTS) $(parsleyc_LDADD) $(LIBS)
mostlyclean-compile:
-rm -f *.$(OBJEXT)
@ -348,14 +349,14 @@ mostlyclean-compile:
distclean-compile:
-rm -f *.tab.c
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parsley_mem.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dexter.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dexter_main.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dexterc_main.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/functions.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/kstring.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/obstack.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parser.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parsley.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parsley_main.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parsley_mem.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parsleyc_main.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/printbuf.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/regexp.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scanner.Plo@am__quote@
@ -719,43 +720,29 @@ uninstall-am: uninstall-binPROGRAMS uninstall-includeHEADERS \
bisect:
./bootstrap.sh && ./configure && make clean && make check
port:
make clean
rm -rf /tmp/dexter-`cat VERSION`
cp -R . /tmp/dexter-`cat VERSION`
tar -C /tmp/ --exclude release --exclude .git -zcf "/tmp/dexter-`cat VERSION`.tar.gz" dexter-`cat VERSION`
rsync --progress "/tmp/dexter-`cat VERSION`.tar.gz" kylemaxwell.com:/var/www/kylemaxwell_com/dexter/
cat Portfile.in | sed "s/<VERSION>/`cat VERSION`/" > Portfile
echo "checksums \
md5 `md5 /tmp/dexter-\`cat VERSION\`.tar.gz | sed "s/.*= //"` \
sha1 `openssl sha1 /tmp/dexter-\`cat VERSION\`.tar.gz | sed "s/.*= //"` \
rmd160 `openssl rmd160 /tmp/dexter-\`cat VERSION\`.tar.gz | sed "s/.*= //"`" \
>> Portfile
sudo port build
install-all:
./bootstrap.sh && ./configure && make && make install && cd ruby && rake install && cd ../python && python setup.py install
check-am:
@echo "fictional..."; ./dexter test/fictional.dex test/fictional.html | diff test/fictional.json - && echo " success."
@echo "fictional-opt..."; ./dexter test/fictional-opt.dex test/fictional-opt.html | diff test/fictional-opt.json - && echo " success."
@echo "function-magic..."; ./dexter test/function-magic.dex test/function-magic.html | diff test/function-magic.json - && echo " success."
@echo "malformed-expr..."; ./dexter test/malformed-expr.dex test/malformed-expr.html | diff test/malformed-expr.json - && echo " success."
@echo "malformed-json..."; ./dexter test/malformed-json.dex test/malformed-json.html | diff test/malformed-json.json - && echo " success."
@echo "css_attr..."; ./dexter -x test/css_attr.dex test/css_attr.html | diff test/css_attr.json - && echo " success."
@echo "match..."; ./dexter -x test/match.dex test/match.xml | diff test/match.json - && echo " success."
@echo "position..."; ./dexter test/position.dex test/position.html | diff test/position.json - && echo " success."
@echo "replace..."; ./dexter -x test/replace.dex test/replace.xml | diff test/replace.json - && echo " success."
@echo "scope..."; ./dexter test/scope.dex test/scope.html | diff test/scope.json - && echo " success."
@echo "test..."; ./dexter -x test/test.dex test/test.xml | diff test/test.json - && echo " success."
@echo "yelp..."; ./dexter test/yelp.dex test/yelp.html | diff test/yelp.json - && echo " success."
@echo "optional..."; ./dexter test/optional.dex test/optional.html | diff test/optional.json - && echo " success."
@echo "malformed-function..."; ./dexter test/malformed-function.dex test/malformed-function.html | diff test/malformed-function.json - && echo " success."
@echo "empty..."; ./dexter test/empty.dex test/empty.html | diff test/empty.json - && echo " success."
@echo "trivial..."; ./dexter test/trivial.dex test/trivial.html | diff test/trivial.json - && echo " success."
@echo "trivial2..."; ./dexter test/trivial2.dex test/trivial2.html | diff test/trivial2.json - && echo " success."
@echo "craigs-simple..."; ./dexter test/craigs-simple.dex test/craigs-simple.html | diff test/craigs-simple.json - && echo " success."
@echo "yelp-home..."; ./dexter test/yelp-home.dex test/yelp-home.html | diff test/yelp-home.json - && echo " success."
@echo "fictional..."; ./parsley test/fictional.let test/fictional.html | diff test/fictional.json - && echo " success."
@echo "fictional-opt..."; ./parsley test/fictional-opt.let test/fictional-opt.html | diff test/fictional-opt.json - && echo " success."
@echo "function-magic..."; ./parsley test/function-magic.let test/function-magic.html | diff test/function-magic.json - && echo " success."
@echo "malformed-expr..."; ./parsley test/malformed-expr.let test/malformed-expr.html | diff test/malformed-expr.json - && echo " success."
@echo "malformed-json..."; ./parsley test/malformed-json.let test/malformed-json.html | diff test/malformed-json.json - && echo " success."
@echo "css_attr..."; ./parsley -x test/css_attr.let test/css_attr.html | diff test/css_attr.json - && echo " success."
@echo "match..."; ./parsley -x test/match.let test/match.xml | diff test/match.json - && echo " success."
@echo "position..."; ./parsley test/position.let test/position.html | diff test/position.json - && echo " success."
@echo "replace..."; ./parsley -x test/replace.let test/replace.xml | diff test/replace.json - && echo " success."
@echo "scope..."; ./parsley test/scope.let test/scope.html | diff test/scope.json - && echo " success."
@echo "test..."; ./parsley -x test/test.let test/test.xml | diff test/test.json - && echo " success."
@echo "yelp..."; ./parsley test/yelp.let test/yelp.html | diff test/yelp.json - && echo " success."
@echo "optional..."; ./parsley test/optional.let test/optional.html | diff test/optional.json - && echo " success."
@echo "malformed-function..."; ./parsley test/malformed-function.let test/malformed-function.html | diff test/malformed-function.json - && echo " success."
@echo "empty..."; ./parsley test/empty.let test/empty.html | diff test/empty.json - && echo " success."
@echo "trivial..."; ./parsley test/trivial.let test/trivial.html | diff test/trivial.json - && echo " success."
@echo "trivial2..."; ./parsley test/trivial2.let test/trivial2.html | diff test/trivial2.json - && echo " success."
@echo "craigs-simple..."; ./parsley test/craigs-simple.let test/craigs-simple.html | diff test/craigs-simple.json - && echo " success."
@echo "yelp-home..."; ./parsley test/yelp-home.let test/yelp-home.html | diff test/yelp-home.json - && echo " success."
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

View File

@ -309,7 +309,7 @@ exec 6>&1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by dexterc $as_me 1.0, which was
This file was extended by parsleyc $as_me 1.0, which was
generated by GNU Autoconf 2.63. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@ -349,7 +349,7 @@ $config_commands
Report bugs to <bug-autoconf@gnu.org>."
ac_cs_version="\
dexterc config.status 1.0
parsleyc config.status 1.0
configured by ./configure, generated by GNU Autoconf 2.63,
with options \"\"
@ -615,7 +615,7 @@ if test -n "${ZSH_VERSION+set}" ; then
fi
PACKAGE='dexterc'
PACKAGE='parsleyc'
VERSION='1.0'
TIMESTAMP=''
RM='rm -f'
@ -764,7 +764,7 @@ S["AUTOMAKE"]="${SHELL} /Users/kyle/Git/dexter/missing --run automake-1.10"
S["AUTOCONF"]="${SHELL} /Users/kyle/Git/dexter/missing --run autoconf"
S["ACLOCAL"]="${SHELL} /Users/kyle/Git/dexter/missing --run aclocal-1.10"
S["VERSION"]="1.0"
S["PACKAGE"]="dexterc"
S["PACKAGE"]="parsleyc"
S["CYGPATH_W"]="echo"
S["am__isrc"]=""
S["INSTALL_DATA"]="${INSTALL} -m 644"
@ -778,10 +778,10 @@ S["LIBS"]="-lexslt -lxml2 -lxslt -ljson -largp -lpcre -L/opt/local/lib -lxml2 -
S["ECHO_T"]=""
S["ECHO_N"]=""
S["ECHO_C"]="\\c"
S["DEFS"]="-DPACKAGE_NAME=\\\"dexterc\\\" -DPACKAGE_TARNAME=\\\"dexterc\\\" -DPACKAGE_VERSION=\\\"1.0\\\" -DPACKAGE_STRING=\\\"dexterc\\ 1.0\\\" -DPACKAGE_BUGREPORT=\\\"kyle@kyle"\
"maxwell.com\\\" -DPACKAGE=\\\"dexterc\\\" -DVERSION=\\\"1.0\\\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1"\
" -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\\\".libs"\
"/\\\" -DHAVE_LIBPCRE=1 -DHAVE_LIBARGP=1 -DHAVE_LIBJSON=1 -DHAVE_LIBXSLT=1 -DHAVE_LIBXML2=1 -DHAVE_LIBEXSLT=1"
S["DEFS"]="-DPACKAGE_NAME=\\\"parsleyc\\\" -DPACKAGE_TARNAME=\\\"parsleyc\\\" -DPACKAGE_VERSION=\\\"1.0\\\" -DPACKAGE_STRING=\\\"parsleyc\\ 1.0\\\" -DPACKAGE_BUGREPORT=\\\"kyle@k"\
"ylemaxwell.com\\\" -DPACKAGE=\\\"parsleyc\\\" -DVERSION=\\\"1.0\\\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB"\
"_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\\\"."\
"libs/\\\" -DHAVE_LIBPCRE=1 -DHAVE_LIBARGP=1 -DHAVE_LIBJSON=1 -DHAVE_LIBXSLT=1 -DHAVE_LIBXML2=1 -DHAVE_LIBEXSLT=1"
S["mandir"]="${datarootdir}/man"
S["localedir"]="${datarootdir}/locale"
S["libdir"]="${exec_prefix}/lib"
@ -805,10 +805,10 @@ S["program_transform_name"]="s,x,x,"
S["prefix"]="/usr/local"
S["exec_prefix"]="${prefix}"
S["PACKAGE_BUGREPORT"]="kyle@kylemaxwell.com"
S["PACKAGE_STRING"]="dexterc 1.0"
S["PACKAGE_STRING"]="parsleyc 1.0"
S["PACKAGE_VERSION"]="1.0"
S["PACKAGE_TARNAME"]="dexterc"
S["PACKAGE_NAME"]="dexterc"
S["PACKAGE_TARNAME"]="parsleyc"
S["PACKAGE_NAME"]="parsleyc"
S["PATH_SEPARATOR"]=":"
S["SHELL"]="/bin/sh"
_ACAWK

24
configure vendored
View File

@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.63 for dexterc 1.0.
# Generated by GNU Autoconf 2.63 for parsleyc 1.0.
#
# Report bugs to <kyle@kylemaxwell.com>.
#
@ -743,10 +743,10 @@ MAKEFLAGS=
SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='dexterc'
PACKAGE_TARNAME='dexterc'
PACKAGE_NAME='parsleyc'
PACKAGE_TARNAME='parsleyc'
PACKAGE_VERSION='1.0'
PACKAGE_STRING='dexterc 1.0'
PACKAGE_STRING='parsleyc 1.0'
PACKAGE_BUGREPORT='kyle@kylemaxwell.com'
# Factoring default headers for most tests.
@ -1472,7 +1472,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures dexterc 1.0 to adapt to many kinds of systems.
\`configure' configures parsleyc 1.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@ -1520,7 +1520,7 @@ Fine tuning of the installation directories:
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
--docdir=DIR documentation root [DATAROOTDIR/doc/dexterc]
--docdir=DIR documentation root [DATAROOTDIR/doc/parsleyc]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
@ -1542,7 +1542,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of dexterc 1.0:";;
short | recursive ) echo "Configuration of parsleyc 1.0:";;
esac
cat <<\_ACEOF
@ -1646,7 +1646,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
dexterc configure 1.0
parsleyc configure 1.0
generated by GNU Autoconf 2.63
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@ -1660,7 +1660,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by dexterc $as_me 1.0, which was
It was created by parsleyc $as_me 1.0, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ $0 $@
@ -2376,7 +2376,7 @@ fi
# Define the identity of the package.
PACKAGE='dexterc'
PACKAGE='parsleyc'
VERSION='1.0'
@ -13040,7 +13040,7 @@ exec 6>&1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by dexterc $as_me 1.0, which was
This file was extended by parsleyc $as_me 1.0, which was
generated by GNU Autoconf 2.63. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@ -13094,7 +13094,7 @@ Report bugs to <bug-autoconf@gnu.org>."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
dexterc config.status 1.0
parsleyc config.status 1.0
configured by $0, generated by GNU Autoconf 2.63,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"

View File

@ -1,7 +1,7 @@
#! /bin/sh
# libtool - Provide generalized library-building support services.
# Generated automatically by config.status (dexterc) 1.0
# Generated automatically by config.status (parsleyc) 1.0
# Libtool was configured on host kyle-maxwells-macbook.local:
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#

View File

@ -194,7 +194,7 @@ parsleyPtr parsley_compile(char* parsley_str, char* incl) {
if(parsley->error == NULL) {
xmlParserCtxtPtr ctxt = xmlNewParserCtxt();
xmlDocPtr doc = xmlCtxtReadMemory(ctxt, buf->buf, buf->size, "http://kylemaxwell.com/parsley/compiled", NULL, 3);
xmlDocPtr doc = xmlCtxtReadMemory(ctxt, buf->buf, buf->size, "http://parslets.com/compiled", NULL, 3);
xmlFreeParserCtxt(ctxt);
parsley->raw_stylesheet = strdup(buf->buf);
parsley->stylesheet = xsltParseStylesheetDoc(doc);

2
util.c
View File

@ -96,7 +96,7 @@ char* parsley_key_filter(char* key) {
char* sprintbuf_parsley_header(struct printbuf *buf) {
sprintbuf(buf, "<xsl:stylesheet version=\"1.0\" xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\"");
sprintbuf(buf, " xmlns:lib=\"http://parslets.com/stdlib\"");
sprintbuf(buf, " xmlns:parslet=\"http://parslets.com/json\"");
sprintbuf(buf, " xmlns:parsley=\"http://parslets.com/json\"");
sprintbuf(buf, " xmlns:str=\"http://exslt.org/strings\"");
sprintbuf(buf, " xmlns:set=\"http://exslt.org/sets\"");
sprintbuf(buf, " xmlns:math=\"http://exslt.org/math\"");