[BACK]Return to flex.skl CVS log [TXT][DIR] Up to [local] / src / usr.bin / lex

Diff for /src/usr.bin/lex/flex.skl between version 1.16 and 1.17

version 1.16, 2017/05/02 19:16:19 version 1.17, 2020/08/06 17:23:29
Line 1308 
Line 1308 
 m4_ifdef( [[M4_YY_USES_REJECT]],  m4_ifdef( [[M4_YY_USES_REJECT]],
 [[  [[
         /* Create the reject buffer large enough to save one state per allowed character. */          /* Create the reject buffer large enough to save one state per allowed character. */
         if ( ! YY_G(yy_state_buf) )                  if ( ! YY_G(yy_state_buf) )
             YY_G(yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE  M4_YY_CALL_LAST_ARG);                          YY_G(yy_state_buf) = (yy_state_type *)
             if ( ! YY_G(yy_state_buf) )                                  yyalloc(YY_STATE_BUF_SIZE  M4_YY_CALL_LAST_ARG);
                 YY_FATAL_ERROR( "out of dynamic memory in yylex()" );                  if ( ! YY_G(yy_state_buf) )
                           YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
 ]])  ]])
   
                 if ( ! YY_G(yy_start) )                  if ( ! YY_G(yy_start) )
                         YY_G(yy_start) = 1;     /* first start state */                          YY_G(yy_start) = 1;     /* first start state */
   
                 if ( ! yyin )                  if ( ! yyin ) {
 %if-c-only  %if-c-only
                         yyin = stdin;                          yyin = stdin;
 %endif  %endif
 %if-c++-only  %if-c++-only
                         yyin = & std::cin;                          yyin = & std::cin;
 %endif  %endif
                   }
   
                 if ( ! yyout )                  if ( ! yyout ) {
 %if-c-only  %if-c-only
                         yyout = stdout;                          yyout = stdout;
 %endif  %endif
 %if-c++-only  %if-c++-only
                         yyout = & std::cout;                          yyout = & std::cout;
 %endif  %endif
                   }
   
                 if ( ! YY_CURRENT_BUFFER ) {                  if ( ! YY_CURRENT_BUFFER ) {
                         yyensure_buffer_stack (M4_YY_CALL_ONLY_ARG);                          yyensure_buffer_stack (M4_YY_CALL_ONLY_ARG);
Line 1340 
Line 1343 
                 }                  }
   
                 yy_load_buffer_state( M4_YY_CALL_ONLY_ARG );                  yy_load_buffer_state( M4_YY_CALL_ONLY_ARG );
                 }          }
   
         {          {
 %% [7.0] user's declarations go here  %% [7.0] user's declarations go here

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17