File indexing completed on 2024-06-16 13:25:07

0001 #!/bin/sh
0002 
0003 echo "/* WARNING! All changes made in this file will be lost! Run 'generate_parser_code.sh' instead. */
0004 static const char* const _tokens[] = {"
0005 for t in `grep  "\"[a-zA-Z_]*\"" KDbSqlScanner.l | sed -e 's/{.*}//g;s/{.*//g;s/[()|+ ]//g;s/\/\*.*\///g;s/""/"\n"/g;' | grep '^\".*\"$' | sort | uniq` ; do
0006     if [ "$t" = "ZZZ" ] ; then break ; fi
0007     echo '    '$t',';
0008 done
0009 
0010 echo "    0
0011 };"