summaryrefslogtreecommitdiff
path: root/bin/javacc
blob: 494d03d75654c47743814bc574ccb41244ee7b43 (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