# A simple script for generating code regarding unicode values.
# This requires the python "unicode" program.
#
+# Paramters:
+# 1: mode.
+# 2: input file (optional).
+#
# The following modes are supported:
-# - source: Generate C source code if condition blocks (default).
-# - test: Generate unit test byte data (in base 10) files.
+# - source: Generate C source code if condition blocks (default).
+# - test: Generate unit test byte data (in base 10) files.
#
main() {
local u3=
local -i i=0
+ if [[ ${2} != "" ]] ; then
+ file_input=${2}
+ fi
+
if [[ ${mode} == "" ]] ; then
mode=source
elif [[ ! (${mode} == "source" || ${mode} == "test") ]] ; then
fi
}
-main "${1}"
+main "${@}"