diff --git a/libs/db/parser/extract_tokens.sh b/libs/db/parser/extract_tokens.sh index a0a2e300212190502e4343dbef7c9931b3c636b3..c0025a89d83b94f612f6d2e5b5eeb06c34e65459 100755 --- a/libs/db/parser/extract_tokens.sh +++ b/libs/db/parser/extract_tokens.sh @@ -4,8 +4,8 @@ echo "/* WARNING! All changes made in this file will be lost! Run 'generate_pars static const char* _tokens[] = {" for t in `grep "\"[a-zA-Z_]*\"" sqlscanner.l | sed -e "s/\(^[^\"]*\)\"\([^\"]*\)\".*$/\2/g" | sort | uniq` ; do if [ "$t" = "ZZZ" ] ; then break ; fi - echo "\"$t\","; + echo -e " \"$t\","; done -echo "0 +echo " 0 };"