From 86ca4f322bbec8f52a76c1bf2a879bf464d9bb65 Mon Sep 17 00:00:00 2001 From: Will Estes Date: Fri, 11 Dec 2015 09:45:14 -0500 Subject: Commented in C style in skeleton; fixed sf#195 --- src/flex.skl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flex.skl b/src/flex.skl index 73a0b9e..de2e758 100644 --- a/src/flex.skl +++ b/src/flex.skl @@ -2350,7 +2350,7 @@ void yyFlexLexer::yyensure_buffer_stack(void) * scanner will even need a stack. We use 2 instead of 1 to avoid an * immediate realloc on the next call. */ - num_to_alloc = 1; // After all that talk, this was set to 1 anyways... + num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */ YY_G(yy_buffer_stack) = (struct yy_buffer_state**)yyalloc (num_to_alloc * sizeof(struct yy_buffer_state*) M4_YY_CALL_LAST_ARG); -- cgit v1.2.3 From a9d44d2157fb7c939766706b36052e7a6522bfff Mon Sep 17 00:00:00 2001 From: Manoj Srivastava Date: Sat, 13 Feb 2016 19:08:40 -0800 Subject: [fix-c-plus-comment]: Update generated files after "Commented in C style in skeleton;" Signed-off-by: Manoj Srivastava --- src/scan.c | 2 +- src/skel.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scan.c b/src/scan.c index b55df2d..0b032c2 100644 --- a/src/scan.c +++ b/src/scan.c @@ -4672,7 +4672,7 @@ static void yyensure_buffer_stack (void) * scanner will even need a stack. We use 2 instead of 1 to avoid an * immediate realloc on the next call. */ - num_to_alloc = 1; // After all that talk, this was set to 1 anyways... + num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */ (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc (num_to_alloc * sizeof(struct yy_buffer_state*) ); diff --git a/src/skel.c b/src/skel.c index ef657d3..26cc889 100644 --- a/src/skel.c +++ b/src/skel.c @@ -2561,7 +2561,7 @@ const char *skel[] = { " * scanner will even need a stack. We use 2 instead of 1 to avoid an", " * immediate realloc on the next call.", " */", - " num_to_alloc = 1; // After all that talk, this was set to 1 anyways...", + " num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */", " YY_G(yy_buffer_stack) = (struct yy_buffer_state**)yyalloc", " (num_to_alloc * sizeof(struct yy_buffer_state*)", " M4_YY_CALL_LAST_ARG);", -- cgit v1.2.3