These options make re2c omit version and date info and thus produce
stable test results.
-e 's/^\([^-]\)/-\1/' \
-e 's/--\([^ (-]*\)/ --\1/g' \
-e 's/(\([^)]*\))/ \1/g'`
- local switches="$switches -o $outc"
+ local switches="$switches -o $outc --no-version --no-generation-date"
# enable warnings globally
local switches="$switches -W"
rm "$outx" && find . -type f \
| lc_run sort \
| xargs cat \
- | lc_run sed -e 's,/\* Generated by re2c .*\*/,/\* Generated by re2c \*/,g' \
>> "../$outc"
# cleanup sandbox
cd .. \