summaryrefslogtreecommitdiff
path: root/bin/javacc
blob: 12bd47d3fac51b760c22c9197777527ad47e89c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

cd "$@"/org/gnunet/seaspider/parser
javacc -STATIC=false C.out.jj
echo 'package org.gnunet.monkey.parser;' > PACKAGE
for n in *.java
do
 cat $n >> PACKAGE
 mv PACKAGE $n
 echo 'package org.gnunet.monkey.parser;' > PACKAGE
done

rm -f PACKAGE