Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita0899ff

Browse files
committed
add defaults to switchs to prevent compiler warnings
1 parent8293412 commita0899ff

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

‎jsquery_scan.c

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#defineFLEX_SCANNER
2929
#defineYY_FLEX_MAJOR_VERSION 2
3030
#defineYY_FLEX_MINOR_VERSION 5
31-
#defineYY_FLEX_SUBMINOR_VERSION37
31+
#defineYY_FLEX_SUBMINOR_VERSION39
3232
#ifYY_FLEX_SUBMINOR_VERSION>0
3333
#defineFLEX_BETA
3434
#endif
@@ -187,6 +187,7 @@ extern FILE *jsquery_yyin, *jsquery_yyout;
187187
#defineEOB_ACT_LAST_MATCH 2
188188

189189
#defineYY_LESS_LINENO(n)
190+
#defineYY_LINENO_REWIND_TO(ptr)
190191

191192
/* Return all but the first "n" matched characters back to the input stream. */
192193
#defineyyless(n) \
@@ -526,7 +527,7 @@ static int checkSpecialVal(void); /* examine scanstring for the special value */
526527
#defineYY_NO_INPUT 1
527528

528529

529-
#line530 "jsquery_scan.c"
530+
#line531 "jsquery_scan.c"
530531

531532
#defineINITIAL 0
532533
#definexQUOTED 1
@@ -716,11 +717,6 @@ YY_DECL
716717

717718
YYSTYPE*yylval;
718719

719-
#line 50 "jsquery_scan.l"
720-
721-
722-
#line 723 "jsquery_scan.c"
723-
724720
yylval=yylval_param;
725721

726722
if ( !(yy_init) )
@@ -749,6 +745,12 @@ YY_DECL
749745
jsquery_yy_load_buffer_state( );
750746
}
751747

748+
{
749+
#line 50 "jsquery_scan.l"
750+
751+
752+
#line 753 "jsquery_scan.c"
753+
752754
while (1 )/* loops until end-of-file is reached */
753755
{
754756
yy_cp= (yy_c_buf_p);
@@ -765,7 +767,7 @@ YY_DECL
765767
yy_match:
766768
do
767769
{
768-
registerYY_CHARyy_c=yy_ec[YY_SC_TO_UI(*yy_cp)];
770+
registerYY_CHARyy_c=yy_ec[YY_SC_TO_UI(*yy_cp)];
769771
if (yy_accept[yy_current_state] )
770772
{
771773
(yy_last_accepting_state)=yy_current_state;
@@ -940,7 +942,7 @@ YY_RULE_SETUP
940942
#line 135 "jsquery_scan.l"
941943
YY_FATAL_ERROR("flex scanner jammed" );
942944
YY_BREAK
943-
#line944 "jsquery_scan.c"
945+
#line946 "jsquery_scan.c"
944946

945947
caseYY_END_OF_BUFFER:
946948
{
@@ -1070,6 +1072,7 @@ YY_FATAL_ERROR( "flex scanner jammed" );
10701072
"fatal flex scanner internal error--no action found" );
10711073
}/* end of action switch */
10721074
}/* end of scanning one token */
1075+
}/* end of user's declarations */
10731076
}/* end of jsquery_yylex */
10741077

10751078
/* yy_get_next_buffer - try to read in a new buffer
@@ -1666,7 +1669,7 @@ YY_BUFFER_STATE jsquery_yy_scan_bytes (yyconst char * yybytes, yy_size_t _yyby
16661669
YY_BUFFER_STATEb;
16671670
char*buf;
16681671
yy_size_tn;
1669-
inti;
1672+
yy_size_ti;
16701673

16711674
/* Get memory for full buffer, including space for trailing EOB's. */
16721675
n=_yybytes_len+2;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp