Skip to content

Commit

Permalink
Updates for TruffleRuby
Browse files Browse the repository at this point in the history
  • Loading branch information
kddnewton committed Oct 26, 2023
1 parent bfec7a5 commit f6015ca
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
20 changes: 8 additions & 12 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,19 @@ root = true

[*]
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
tab_width = 8
trim_trailing_whitespace = true

[*.bat]
end_of_line = crlf

[*.gemspec]
indent_size = 2

[{*.rb,Rakefile}]
indent_size = 2
[*.{c,h}]
indent_style = space
indent_size = 4
tab_width = 8

[*.yml]
[{*.rb,*.gemspec,Rakefile,*.yml}]
indent_style = space
indent_size = 2

[{*[Mm]akefile*,*.mak,*.mk,depend}]
indent_style = tab
indent_size = 4
tab_width = 4
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ gem "rake-compiler"
gem "test-unit"
gem "ffi", platform: %i[mri mswin mingw x64_mingw]
group :memcheck do
gem "ruby_memcheck", platform: %i[mri truffleruby mswin mingw x64_mingw]
gem "ruby_memcheck", platform: %i[mri mswin mingw x64_mingw]
end
2 changes: 2 additions & 0 deletions java/org/prism/ParseResult.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.prism;

// @formatter:off
public final class ParseResult {

public static final class MagicComment {
Expand Down Expand Up @@ -44,3 +45,4 @@ public ParseResult(Nodes.Node value, MagicComment[] magicComments, Error[] error
this.warnings = warnings;
}
}
// @formatter:on

0 comments on commit f6015ca

Please sign in to comment.