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

Use latest racc #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Use latest racc #2

wants to merge 1 commit into from

Conversation

krororo
Copy link

@krororo krororo commented Dec 19, 2019

現在は -w オプションを付けて、テストを実行すると以下のような警告が出力されます。

$ ruby -I ./lib -w test.rb
/work/github/mailparser/lib/mailparser/rfc2822/parser.rb:923: warning: mismatched indentations at 'end' with 'module' at 10
/work/github/mailparser/lib/mailparser/rfc2822/parser.rb:924: warning: mismatched indentations at 'end' with 'module' at 9
/work/github/mailparser/lib/mailparser/rfc2045/parser.rb:244: warning: mismatched indentations at 'end' with 'module' at 10
/work/github/mailparser/lib/mailparser/rfc2045/parser.rb:245: warning: mismatched indentations at 'end' with 'module' at 9
/work/github/mailparser/lib/mailparser/rfc2183/parser.rb:186: warning: mismatched indentations at 'end' with 'module' at 10
/work/github/mailparser/lib/mailparser/rfc2183/parser.rb:187: warning: mismatched indentations at 'end' with 'module' at 9

最新の racc 1.4.16 を使うと end のインデントが修正され、この警告は出力されなくなりました。

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