mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Ignore CRLF vs LF for syntax error test check
This commit is contained in:
@@ -62,10 +62,10 @@ fi
|
||||
# Check whether to use '.simple.err' files if they exist
|
||||
# (rgbasm with pre-3.0 Bison just reports "syntax error")
|
||||
$RGBASM -Weverything -o $o syntax-error.asm > $output 2> $errput
|
||||
cmp syntax-error.err $errput > /dev/null 2> /dev/null
|
||||
simple_error=$?
|
||||
if [ "$simple_error" -eq 1 ]; then
|
||||
simple_error=0
|
||||
if ! diff --strip-trailing-cr syntax-error.err $errput; then
|
||||
echo "${bold}${orange}Warning: using .simple.err files when available.${rescolors}${resbold}"
|
||||
simple_error=1
|
||||
fi
|
||||
|
||||
for i in *.asm; do
|
||||
|
||||
Reference in New Issue
Block a user