help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bison-1.31 for Windows


From: Kees Zeelenberg
Subject: Re: Bison-1.31 for Windows
Date: Sat, 19 Jan 2002 22:33:29 +0100

The only difference needed for compiling on MS-Windows (with Mingw, 
i.e. GCC for MS-Windows) was to move the declaration of cp in
src/files.c to the beginning of the function skeleton_find, in order
to avoid a compiler error. See the context diff below.

Kees Zeelenberg

diff -cr bison-1.31-orig/src/files.c bison-1.31/src/files.c
*** bison-1.31-orig/src/files.c Fri Jan 11 14:32:36 2002
--- bison-1.31/src/files.c Thu Jan 17 21:33:42 2002
***************
*** 215,220 ****
--- 215,221 ----
    const char *res = getenv (envvar);
  
  #if defined (MSDOS) || defined (_WIN32)
+   const char *cp = getenv ("INIT");
    if (!res)
      {
        /* Skeleton file name without path */
***************
*** 227,233 ****
          ++skel_name;
  
        /* File doesn't exist in current directory; try in INIT directory.  */
-       const char *cp = getenv ("INIT");
        if (cp)
   {
     res = XMALLOC (char, strlen (cp) + strlen (skel_name) + 2);
--- 228,233 ----




----- Oorspronkelijk bericht ----- 
Van: "Akim Demaille" <address@hidden>
Aan: "GnuWin32" <address@hidden>
CC: "GnuWin32 Announce" <address@hidden>; <address@hidden>
Verzonden: zaterdag 19 januari 2002 11:27
Onderwerp: Re: Bison-1.31 for Windows


> >>>>> "gnuwin32" == gnuwin32  <address@hidden> writes:
> 
> gnuwin32> An MS-Windows (Win32) port of the new release (1.31) of
> gnuwin32> Bison is available from http://gnuwin32.sourceforge.net
> gnuwin32> Bison is a parser generator that is compatible with Yacc.
> 
> Thanks!
> 
> I would like to know if there are any differences with the 1.31 we
> released.  In other words, are there portability changes you would
> like to integrate into the master copy?
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]