diff --git a/utils/flex-c++.sh b/utils/flex-c++.sh index 6aa88946ab..fe3fcdc1fe 100755 --- a/utils/flex-c++.sh +++ b/utils/flex-c++.sh @@ -26,6 +26,7 @@ test -f ${OUTPUT} || exit 1 ############################################################################# cat ${OUTPUT} \ + | sed -e 's:( i = 0; i < _yybytes_len;:( i = 0; i < (int) _yybytes_len;:' \ | sed -e 's:yy_n_chars, (size_t) num_to_read );:yy_n_chars, (int) num_to_read );:' \ | sed -e 's:register ::g' \ > ${OUTPUT}.tmp