shithub: scc

Download patch

ref: 5cf98c2919bf514ab5508c46fd777b8aecaf7d8b
parent: ec930b3a10f49ba89a48694fac9e0ca121408f78
author: Roberto E. Vargas Caballero <[email protected]>
date: Thu Apr 10 02:57:51 EDT 2014

Fix error()

After the change c61a84d error was not terminating
correctly, since we do not have error recovery function
the only thing we can do in an error is terminate, then
it was incorrect.

--- a/error.c
+++ b/error.c
@@ -37,7 +37,7 @@
 {
 	va_list va;
 	va_start(va, fmt);
-	warn_helper(1, fmt, va);
+	warn_helper(-1, fmt, va);
 	va_end(va);
 }