Skip to content

Commit

Permalink
Fix test data with syntax errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ydah committed Mar 5, 2024
1 parent 85b2fe2 commit cf15736
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions spec/fixtures/parameterizing_rules/between_rhs.y
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ program : foo option(bar) baz

%%

static int yylex(YYSTYPE *yylval, YYLTYPE *loc) {
static int yylex(YYSTYPE *yylval, YYLTYPE *loc)
{
return 0;
}

static int yyerror(YYLTYPE *loc, const char *str) {
static int yyerror(YYLTYPE *loc, const char *str)
{
return 0;
}
Expand Down
4 changes: 2 additions & 2 deletions spec/fixtures/parameterizing_rules/invalid_argument_number.y
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ program : list(num1, num2)

%%

static int yylex(YYSTYPE *yylval, YYLTYPE *loc) {
static int yylex(YYSTYPE *yylval, YYLTYPE *loc)
{
return 0;
}

static int yyerror(YYLTYPE *loc, const char *str) {
static int yyerror(YYLTYPE *loc, const char *str)
{
return 0;
}
Expand Down
4 changes: 2 additions & 2 deletions spec/fixtures/parameterizing_rules/invalid_rule_name.y
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ program : invalid(num)

%%

static int yylex(YYSTYPE *yylval, YYLTYPE *loc) {
static int yylex(YYSTYPE *yylval, YYLTYPE *loc)
{
return 0;
}

static int yyerror(YYLTYPE *loc, const char *str) {
static int yyerror(YYLTYPE *loc, const char *str)
{
return 0;
}
Expand Down
4 changes: 2 additions & 2 deletions spec/fixtures/parameterizing_rules/list.y
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ alias : number_alias*

%%

static int yylex(YYSTYPE *yylval, YYLTYPE *loc) {
static int yylex(YYSTYPE *yylval, YYLTYPE *loc)
{
return 0;
}

static int yyerror(YYLTYPE *loc, const char *str) {
static int yyerror(YYLTYPE *loc, const char *str)
{
return 0;
}
Expand Down
4 changes: 2 additions & 2 deletions spec/fixtures/parameterizing_rules/nested.y
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ program : option(constant(number))

%%

static int yylex(YYSTYPE *yylval, YYLTYPE *loc) {
static int yylex(YYSTYPE *yylval, YYLTYPE *loc)
{
return 0;
}

static int yyerror(YYLTYPE *loc, const char *str) {
static int yyerror(YYLTYPE *loc, const char *str)
{
return 0;
}
Expand Down
4 changes: 2 additions & 2 deletions spec/fixtures/parameterizing_rules/nonempty_list.y
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ alias : number_alias+

%%

static int yylex(YYSTYPE *yylval, YYLTYPE *loc) {
static int yylex(YYSTYPE *yylval, YYLTYPE *loc)
{
return 0;
}

static int yyerror(YYLTYPE *loc, const char *str) {
static int yyerror(YYLTYPE *loc, const char *str)
{
return 0;
}
Expand Down
4 changes: 2 additions & 2 deletions spec/fixtures/parameterizing_rules/option.y
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ alias : number_alias?

%%

static int yylex(YYSTYPE *yylval, YYLTYPE *loc) {
static int yylex(YYSTYPE *yylval, YYLTYPE *loc)
{
return 0;
}

static int yyerror(YYLTYPE *loc, const char *str) {
static int yyerror(YYLTYPE *loc, const char *str)
{
return 0;
}
Expand Down
4 changes: 2 additions & 2 deletions spec/fixtures/parameterizing_rules/option_with_tag.y
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ alias : number_alias? <i>

%%

static int yylex(YYSTYPE *yylval, YYLTYPE *loc) {
static int yylex(YYSTYPE *yylval, YYLTYPE *loc)
{
return 0;
}

static int yyerror(YYLTYPE *loc, const char *str) {
static int yyerror(YYLTYPE *loc, const char *str)
{
return 0;
}
Expand Down
4 changes: 2 additions & 2 deletions spec/fixtures/parameterizing_rules/separated_list.y
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ program : separated_list(',', number)

%%

static int yylex(YYSTYPE *yylval, YYLTYPE *loc) {
static int yylex(YYSTYPE *yylval, YYLTYPE *loc)
{
return 0;
}

static int yyerror(YYLTYPE *loc, const char *str) {
static int yyerror(YYLTYPE *loc, const char *str)
{
return 0;
}
Expand Down
4 changes: 2 additions & 2 deletions spec/fixtures/parameterizing_rules/separated_nonempty_list.y
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ program : separated_nonempty_list(',', number)

%%

static int yylex(YYSTYPE *yylval, YYLTYPE *loc) {
static int yylex(YYSTYPE *yylval, YYLTYPE *loc)
{
return 0;
}

static int yyerror(YYLTYPE *loc, const char *str) {
static int yyerror(YYLTYPE *loc, const char *str)
{
return 0;
}
Expand Down
4 changes: 2 additions & 2 deletions spec/fixtures/parameterizing_rules/user_defined.y
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ program : defined_option(number) <i>

%%

static int yylex(YYSTYPE *yylval, YYLTYPE *loc) {
static int yylex(YYSTYPE *yylval, YYLTYPE *loc)
{
return 0;
}

static int yyerror(YYLTYPE *loc, const char *str) {
static int yyerror(YYLTYPE *loc, const char *str)
{
return 0;
}
Expand Down
4 changes: 2 additions & 2 deletions spec/fixtures/parameterizing_rules/user_defined_with_nest.y
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ program : option(number)

%%

static int yylex(YYSTYPE *yylval, YYLTYPE *loc) {
static int yylex(YYSTYPE *yylval, YYLTYPE *loc)
{
return 0;
}

static int yyerror(YYLTYPE *loc, const char *str) {
static int yyerror(YYLTYPE *loc, const char *str)
{
return 0;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ program : list(number)

%%

static int yylex(YYSTYPE *yylval, YYLTYPE *loc) {
static int yylex(YYSTYPE *yylval, YYLTYPE *loc)
{
return 0;
}

static int yyerror(YYLTYPE *loc, const char *str) {
static int yyerror(YYLTYPE *loc, const char *str)
{
return 0;
}
Expand Down

0 comments on commit cf15736

Please sign in to comment.