diff --git a/VERSION b/VERSION index b19de0d..a352984 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.4.94 +1.4.95 diff --git a/scripts/yosys.sh b/scripts/yosys.sh index 602e4bb..7e20453 100755 --- a/scripts/yosys.sh +++ b/scripts/yosys.sh @@ -242,7 +242,8 @@ EOF # Note: Remove backslashes and brackets to avoid problems with tcsh set yerrors = `eval ${bindir}/yosys -s ${modulename}.ys |& sed -e "/\\/s#\\#/#g" \ - -e "/\[/s/\[//g" -e "/\]/s/\]//g" | grep ERROR` + -e "/\[/s/\[//g" -e "/\]/s/\]//g" | grep ERROR | \ + sed 's/^.*\(ERROR.*\).*$/\1/'` set yerrcnt = `echo $yerrors | wc -c` if ($yerrcnt > 1) then @@ -377,7 +378,8 @@ EOF # Note: Remove backslashes and brackets to avoid problems with tcsh set yerrors = `eval ${bindir}/yosys -s ${modulename}.ys |& sed -e "/\\/s#\\#/#g" \ - -e "/\[/s/\[//g" -e "/\]/s/\]//g" | grep ERROR` + -e "/\[/s/\[//g" -e "/\]/s/\]//g" | grep ERROR | \ + sed 's/^.*\(ERROR.*\).*$/\1/'` set yerrcnt = `echo $yerrors | wc -c` if ($yerrcnt > 1) then