spacepaste

  1.  
  2. --- flex.skl 2016-02-08 17:09:04.246218501 -0500
  3. +++ flex.skl.new 2016-02-08 17:08:52.419296141 -0500
  4. @@ -1557,7 +1557,7 @@
  5. yy_init = 0;
  6. yy_start = 0;
  7. yy_flex_debug = 0;
  8. - yylineno = 1; // this will only get updated if %option yylineno
  9. + yylineno = 1; /* this will only get updated if %option yylineno */
  10. yy_did_buffer_switch_on_eof = 0;
  11. @@ -1597,11 +1597,11 @@
  12. */
  13. void yyFlexLexer::switch_streams( std::istream& new_in, std::ostream& new_out )
  14. {
  15. - // was if( new_in )
  16. + /* was if( new_in ) */
  17. yy_delete_buffer( YY_CURRENT_BUFFER M4_YY_CALL_LAST_ARG);
  18. yy_switch_to_buffer( yy_create_buffer( new_in, YY_BUF_SIZE M4_YY_CALL_LAST_ARG) M4_YY_CALL_LAST_ARG);
  19. - // was if( new_out )
  20. + /* was if( new_out ) */
  21. yyout.rdbuf(new_out.rdbuf());
  22. }
  23. @@ -2350,7 +2350,7 @@
  24. * scanner will even need a stack. We use 2 instead of 1 to avoid an
  25. * immediate realloc on the next call.
  26. */
  27. - num_to_alloc = 1; // After all that talk, this was set to 1 anyways...
  28. + num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
  29. YY_G(yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
  30. (num_to_alloc * sizeof(struct yy_buffer_state*)
  31. M4_YY_CALL_LAST_ARG);
  32.