summaryrefslogtreecommitdiff
path: root/src/js2h.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/js2h.sh')
-rwxr-xr-xsrc/js2h.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/js2h.sh b/src/js2h.sh
index 174d413..95ff77a 100755
--- a/src/js2h.sh
+++ b/src/js2h.sh
@@ -6,8 +6,8 @@ cat $1 | \
tr '\n\r\t' ' ' | \
sed -e "s| \+| |g" \
-e "s|^//.*$||" \
- -e "s| \([-?<>:=(){};+\&\"',\|]\)|\1|g" \
- -e "s|\([-?<>:=(){};+\&\"',\|]\) |\1|g" \
+ -e "s| \([-!?<>:=(){};+\&\"',\|]\)|\1|g" \
+ -e "s|\([-!?<>:=(){};+\&\"',\|]\) |\1|g" \
-e 's|\\|\\\\|g' \
-e 's|"|\\"|g'
echo '"'