Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix carrets position when tab exists #299

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

yui-knk
Copy link
Collaborator

@yui-knk yui-knk commented Dec 20, 2023

There are 2 tabs after %expect.

Before:

parser.y:541:in `on_error': tmp/a.y:5:8: parse error on value 'invalid' (IDENTIFIER) (Racc::ParseError)
%expect		invalid
         ^^^^^^^

After:

parser.y:545:in `on_error': tmp/a.y:5:8: parse error on value 'invalid' (IDENTIFIER) (Racc::ParseError)
%expect		invalid
                ^^^^^^^

There are 2 tabs after `%expect`.

Before:

```
parser.y:541:in `on_error': tmp/a.y:5:8: parse error on value 'invalid' (IDENTIFIER) (Racc::ParseError)
%expect		invalid
         ^^^^^^^
```

After:

```
parser.y:545:in `on_error': tmp/a.y:5:8: parse error on value 'invalid' (IDENTIFIER) (Racc::ParseError)
%expect		invalid
                ^^^^^^^
```
@yui-knk yui-knk merged commit fa7b6c9 into ruby:master Dec 20, 2023
15 checks passed
@yui-knk yui-knk deleted the fix_grammar_file_syntax_error_message branch December 20, 2023 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant