Commit 7a8d77ad authored by Jarosław Staniek's avatar Jarosław Staniek

proper indent in generated tokens.cpp

GIT_SILENT
parent 8d23f839
...@@ -4,8 +4,8 @@ echo "/* WARNING! All changes made in this file will be lost! Run 'generate_pars ...@@ -4,8 +4,8 @@ echo "/* WARNING! All changes made in this file will be lost! Run 'generate_pars
static const char* _tokens[] = {" static const char* _tokens[] = {"
for t in `grep "\"[a-zA-Z_]*\"" sqlscanner.l | sed -e "s/\(^[^\"]*\)\"\([^\"]*\)\".*$/\2/g" | sort | uniq` ; do for t in `grep "\"[a-zA-Z_]*\"" sqlscanner.l | sed -e "s/\(^[^\"]*\)\"\([^\"]*\)\".*$/\2/g" | sort | uniq` ; do
if [ "$t" = "ZZZ" ] ; then break ; fi if [ "$t" = "ZZZ" ] ; then break ; fi
echo "\"$t\","; echo -e " \"$t\",";
done done
echo "0 echo " 0
};" };"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment