Do not use '#endif/#else xxx'; it is not allowed for ANSI C
This commit is contained in:
@@ -72,7 +72,7 @@ debug(va_alist)
|
||||
}
|
||||
va_end(ap);
|
||||
}
|
||||
#endif DEBUG
|
||||
#endif /* DEBUG */
|
||||
|
||||
/*VARARGS*/
|
||||
error(va_alist)
|
||||
@@ -253,7 +253,7 @@ _error(class, node, ap)
|
||||
case VDEBUG:
|
||||
remark = "(debug)";
|
||||
break;
|
||||
#endif DEBUG
|
||||
#endif /* DEBUG */
|
||||
}
|
||||
|
||||
/* the place */
|
||||
@@ -268,7 +268,7 @@ _error(class, node, ap)
|
||||
case FATAL:
|
||||
#ifdef DEBUG
|
||||
case VDEBUG:
|
||||
#endif DEBUG
|
||||
#endif /* DEBUG */
|
||||
ln = LineNumber;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user