diff options
Diffstat (limited to 'src/c99-flex.skl')
-rw-r--r-- | src/c99-flex.skl | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/c99-flex.skl b/src/c99-flex.skl index 317c038..796fe11 100644 --- a/src/c99-flex.skl +++ b/src/c99-flex.skl @@ -239,14 +239,14 @@ const int YY_END_OF_BUFFER_CHAR = 0; /* * Amount of stuff to slurp up with each read. - * We assume the stdio library has already - * chosen a fit size foe whatever platform + * We assume the stdio library has already + * chosen a fit size foe whatever platform * we're running on. */ const int YY_READ_BUF_SIZE = BUFSIZ; /* Size of default input buffer. We want to be able to fit two - * OS-level reads, but efficiency gains as the buffer size + * OS-level reads, but efficiency gains as the buffer size * increases fall off after that */ const int YY_BUF_SIZE = m4_ifdef([[M4_MODE_YY_BUFSIZE]], [[M4_MODE_YY_BUFSIZE]], [[2 * YY_READ_BUF_SIZE]]); @@ -337,7 +337,7 @@ static const YY_CHAR yy_ec[M4_HOOK_ECSTABLE_SIZE] = { 0, M4_HOOK_ECSTABLE_BODY[[]]m4_dnl }; ]]) - + m4_ifdef( [[M4_MODE_USEMECS]],[[m4_dnl /* Character meta-equivalence-class mappings */ static const YY_CHAR yy_meta[M4_HOOK_MECSTABLE_SIZE] = { 0, @@ -861,14 +861,14 @@ void yyrestart(FILE * input_file, yyscan_t yyscanner) yy_init_buffer( yyscanner->yy_buffer_stack[yyscanner->yy_buffer_stack_top], input_file, yyscanner); yy_load_buffer_state( yyscanner ); - -m4_ifdef( [[M4_MODE_USES_REJECT]], [[ + +m4_ifdef( [[M4_MODE_USES_REJECT]], [[ /* Ensure the reject state buffer is large enough. */ if ( yyscanner->yy_state_buf_max < (yy_current_buffer(yyscanner)->yy_buf_size + YY_STATE_BUF_EXTRA_SPACE) ) { new_size = yy_current_buffer(yyscanner)->yy_buf_size + YY_STATE_BUF_EXTRA_SPACE; new_state_buf = (yy_state_type*) yyrealloc( yyscanner->yy_state_buf, (new_size * sizeof(yy_state_type)), yyscanner ); - + if ( new_state_buf == NULL ) { yypanic( "out of dynamic memory in yylex()", yyscanner ); } @@ -1598,7 +1598,7 @@ void yy_switch_to_buffer(yybuffer new_buffer, yyscan_t yyscanner) { size_t new_size = 0; yy_state_type *new_state_buf = 0; - + /* TODO. We should be able to replace this entire function body * with * yypop_buffer_state(); @@ -1624,7 +1624,7 @@ m4_ifdef( [[M4_MODE_USES_REJECT]], [[ if ( yyscanner->yy_state_buf_max < (yy_current_buffer(yyscanner)->yy_buf_size + YY_STATE_BUF_EXTRA_SPACE) ) { new_size = yy_current_buffer(yyscanner)->yy_buf_size + YY_STATE_BUF_EXTRA_SPACE; new_state_buf = (yy_state_type *)yyrealloc( yyscanner->yy_state_buf, (new_size * sizeof(yy_state_type)), yyscanner ); - + if ( new_state_buf == NULL ) { yypanic( "out of dynamic memory in yylex()", yyscanner ); } @@ -2034,7 +2034,7 @@ m4_ifdef( [[<M4_YY_BISON_LLOC>]], yyscanner->yy_buffer_stack[yyscanner->yy_buffer_stack_top] = yy_create_buffer( yyscanner->yyin_r, YY_BUF_SIZE, yyscanner); } - + m4_ifdef( [[M4_MODE_USES_REJECT]], [[ /* Create the reject buffer large enough to save one state per allowed character. @@ -2135,7 +2135,7 @@ m4_ifdef([[M4_MODE_VARIABLE_TRAILING_CONTEXT_RULES]], [[ yy_act &= ~YY_TRAILING_HEAD_MASK; break; } - } else if (( yy_act & YY_TRAILING_MASK) != 0) { + } else if (( yy_act & YY_TRAILING_MASK) != 0) { yyscanner->yy_looking_for_trail_begin = yy_act & ~YY_TRAILING_MASK; yyscanner->yy_looking_for_trail_begin |= YY_TRAILING_HEAD_MASK; m4_ifdef([[M4_MODE_REAL_REJECT]], [[ |