Reinstate the java->c++ source, generator code.

This commit is contained in:
Fedor
2020-03-12 20:40:42 +03:00
parent 30e6400e30
commit 1b648eee31
390 changed files with 91467 additions and 135 deletions
@@ -0,0 +1,25 @@
#!/usr/bin/env sh
SCRIPT_DIR=`dirname $0`
source $SCRIPT_DIR/util.sh
SCRIPT_DIR=`abs $SCRIPT_DIR`
SRCDIR=`abs $SCRIPT_DIR/../src/nu/validator/htmlparser/impl`
if [ $# -eq 1 ]
then
MOZ_PARSER_PATH=`abs $1`
else
echo
echo "Usage: sh `basename $0` /path/to/mozilla-central/parser/html"
echo "Note that relative paths will work just fine."
echo
exit 1
fi
SRCTARGET=$MOZ_PARSER_PATH/javasrc
rm -rf $SRCTARGET
mkdir $SRCTARGET
# Avoid copying the .svn directory:
cp -rv $SRCDIR/*.java $SRCTARGET