Ethereal-dev: [Ethereal-dev] 0.10.12 patch to lemon

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Thu, 4 Aug 2005 15:32:46 -0500
"config.h" should always be included first. However, lemon includes
<stdio.h> first. The attached patch fixes this.

-- 
albert chin (china@xxxxxxxxxxxxxxxxxx)
--- tools/lemon/lempar.c.orig	2005-07-26 14:25:34.000000000 -0500
+++ tools/lemon/lempar.c	2005-08-04 12:24:11.560460000 -0500
@@ -20,8 +20,8 @@
 */
 /* First off, code is include which follows the "include" declaration
 ** in the input file. */
-#include <stdio.h>
 %%
+#include <stdio.h>
 /* Next is all token values, in a form suitable for use by makeheaders.
 ** This section will be null unless lemon is run with the -m switch.
 */