finished preprocessor

This commit is contained in:
pommicket 2022-01-07 14:31:52 -05:00
parent fbe3f4e701
commit e52793324a
12 changed files with 428 additions and 25 deletions

View file

@ -78,5 +78,15 @@ if [ "$(./out04)" != 'Hello, world!' ]; then
fi
cd ..
echo 'Processing stage 04a...'
cd 04a
rm -f out*
make -s out04a
if [ "$(sed '/^#/d;/^$/d' out04a)" != 'Hello, world!' ]; then
echo_red 'Stage 04a failed.'
exit 1
fi
cd ..
echo_green 'all stages completed successfully!'