flex-2.6.0-comment-style.patch 894 B

1234567891011121314151617181920212223
  1. From 07d89829cce4527c7614a34642d4b2c2ef5d6005 Mon Sep 17 00:00:00 2001
  2. From: Will Estes <westes575@gmail.com>
  3. Date: Fri, 11 Dec 2015 09:45:14 -0500
  4. Subject: [PATCH] Commented in C style in skeleton; fixed sf#195
  5. ---
  6. src/flex.skl | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. diff --git a/src/flex.skl b/src/flex.skl
  9. index b63c8c8..40287b6 100644
  10. --- a/src/flex.skl
  11. +++ b/src/flex.skl
  12. @@ -2350,7 +2350,7 @@ void yyFlexLexer::yyensure_buffer_stack(void)
  13. * scanner will even need a stack. We use 2 instead of 1 to avoid an
  14. * immediate realloc on the next call.
  15. */
  16. - num_to_alloc = 1; // After all that talk, this was set to 1 anyways...
  17. + num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
  18. YY_G(yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
  19. (num_to_alloc * sizeof(struct yy_buffer_state*)
  20. M4_YY_CALL_LAST_ARG);