summaryrefslogtreecommitdiffstats
path: root/kexi/kexidb/parser/extract_tokens.sh
blob: 4be9fdb14d9c08b75f95976da02bf5d8ecaecf28 (plain)
1
2
3
4
5
6
7
#!/bin/sh

echo "/* WARNING! All changes made in this file will be lost! Run 'make parser' instead. */"
for t in `grep  "\"[a-zA-Z_]*\"" sqlscanner.l | sed -e "s/\(^[^\"]*\)\"\([^\"]*\)\".*$/\2/g" | sort | uniq` ; do
	if [ "$t" = "ZZZ" ] ; then break ; fi
	echo "INS(\"$t\");";
done