help-flex
[Top][All Lists]
Advanced

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

Re: flex beta 2.5.23 released


From: Bruce Lilly
Subject: Re: flex beta 2.5.23 released
Date: Sat, 23 Nov 2002 10:37:11 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2a) Gecko/20020910

W. L. Estes wrote:
flex beta version 2.5.23 has been released at:

ftp://ftp.uncg.edu/people/wlestes/

From the NEWS file:

* version 2.5.23 released 2002-10-21

** more portability fixes
[...]

There's a problem with scan.c on some ANSI/POSIX platforms.
scan.c needs <inttypes.h> for int32_t etc.  A patch for
scan.c and skel.c is attached.

*** skel.c.orig Mon Oct 21 13:32:28 2002
--- skel.c      Sat Nov 23 00:44:23 2002
***************
*** 67,72 ****
--- 67,73 ----
    "",
    "#ifndef FLEX_NEED_INTEGRAL_TYPE_DEFINITIONS",
    "#include <sys/types.h>",
+   "#include <inttypes.h>",
    "#else",
    "/* Exact integral types.  */",
    "",
*** scan.c.orig Mon Oct 21 13:35:04 2002
--- scan.c      Sat Nov 23 00:45:21 2002
***************
*** 6,12 ****
  #define FLEX_SCANNER
  #define YY_FLEX_MAJOR_VERSION 2
  #define YY_FLEX_MINOR_VERSION 5
! #define YY_FLEX_SUBMINOR_VERSION 22
  #if YY_FLEX_SUBMINOR_VERSION > 0
  #define FLEX_BETA
  #endif
--- 6,12 ----
  #define FLEX_SCANNER
  #define YY_FLEX_MAJOR_VERSION 2
  #define YY_FLEX_MINOR_VERSION 5
! #define YY_FLEX_SUBMINOR_VERSION 23
  #if YY_FLEX_SUBMINOR_VERSION > 0
  #define FLEX_BETA
  #endif
***************
*** 28,33 ****
--- 28,34 ----
  
  #ifndef FLEX_NEED_INTEGRAL_TYPE_DEFINITIONS
  #include <sys/types.h>
+ #include <inttypes.h>
  #else
  /* Exact integral types.  */
  
***************
*** 1650,1656 ****
  #define OPTION 17
  #define LINEDIR 18
  
! #line 1654 "scan.c"
  #endif /* !yyIN_HEADER YY-END-DISCARD-FROM-HEADER */
  
  /* Special case for "unistd.h", since it is non-ANSI. We include it way
--- 1651,1657 ----
  #define OPTION 17
  #define LINEDIR 18
  
! #line 1655 "scan.c"
  #endif /* !yyIN_HEADER YY-END-DISCARD-FROM-HEADER */
  
  /* Special case for "unistd.h", since it is non-ANSI. We include it way
***************
*** 1918,1924 ****
        Char nmdef[MAXLINE];
  
  
! #line 1922 "scan.c"
  
  
        if ( YY_G(yy_init) )
--- 1919,1925 ----
        Char nmdef[MAXLINE];
  
  
! #line 1923 "scan.c"
  
  
        if ( YY_G(yy_init) )
***************
*** 3406,3412 ****
  #line 767 "scan.l"
  YY_FATAL_ERROR( "flex scanner jammed" );
        YY_BREAK
! #line 3410 "scan.c"
  case YY_STATE_EOF(INITIAL):
  case YY_STATE_EOF(SECT2):
  case YY_STATE_EOF(CODEBLOCK):
--- 3407,3413 ----
  #line 767 "scan.l"
  YY_FATAL_ERROR( "flex scanner jammed" );
        YY_BREAK
! #line 3411 "scan.c"
  case YY_STATE_EOF(INITIAL):
  case YY_STATE_EOF(SECT2):
  case YY_STATE_EOF(CODEBLOCK):

reply via email to

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