]> granicus.if.org Git - flex/commitdiff
SourceForge feature request #1658379:
authorAaron Stone <sodabrew@users.sourceforge.net>
Thu, 29 Mar 2007 15:25:07 +0000 (15:25 +0000)
committerAaron Stone <sodabrew@users.sourceforge.net>
Thu, 29 Mar 2007 15:25:07 +0000 (15:25 +0000)
Expose YY_BUF_SIZE in the header file.

flex.skl

index 4ab57c9d573be7b8ebabcc585da093f5a176f677..fa637cbc2961d8504a56165cd0f90a9159c85d1e 100644 (file)
--- a/flex.skl
+++ b/flex.skl
@@ -413,13 +413,13 @@ m4_ifdef( [[M4_YY_NOT_IN_HEADER]],
 #define YY_END_OF_BUFFER_CHAR 0
 ]])
 
-m4_ifdef( [[M4_YY_NOT_IN_HEADER]],
-[[
 /* Size of default input buffer. */
 #ifndef YY_BUF_SIZE
 #define YY_BUF_SIZE 16384
 #endif
 
+m4_ifdef( [[M4_YY_NOT_IN_HEADER]],
+[[
 /* The state buf must be large enough to hold one state per character in the main buffer.
  */
 #define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))