mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-29 23:52:22 +00:00
e974e9d758
typeredef1 parses properly but fails due to it erroneously complaining that foo is redeclared as a different kind of object (it's the same kind). typeredef2 is the real problem in that it's a syntax error when it should not be. This has proven to be a show-stopper for development on my laptop as it has very recent vulkan headers which have such a duplicate typedef.
15 lines
145 B
Bash
Executable file
15 lines
145 B
Bash
Executable file
#! /bin/sh
|
|
|
|
script=$1
|
|
shift
|
|
|
|
cat > $script <<EOF
|
|
#! /bin/sh
|
|
# compile must pass
|
|
$@
|
|
if test \$? != 0; then
|
|
exit 1
|
|
fi
|
|
exit 0
|
|
EOF
|
|
chmod +x $script
|