blob: 62f1718a7051b535747c933b4c07bb97c294ec88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/sh
ROOT="`dirname $0`/.."
F1=reg2ll.lst
F2=gn2ll.lst
xsltproc $ROOT/xslt/reg2ll.xsl $ROOT/rules/base.xml | sort | uniq > $F1
for i in $ROOT/symbols/*; do
if [ -f $i ]; then
id="`basename $i`"
gawk 'BEGIN{FS="\""}/^[[:space:]]*name\[Group1\][[:space:]]*=/{print $2;}' $i | while read name; do
echo "$id:\"$name\""
done
fi
done | sort | uniq > $F2
diff $F1 $F2
|