Skip to content

Commit 965a621

Browse files
eregonandrykonchin
authored andcommitted
Set newlines flags from JRuby parser
1 parent f19ee81 commit 965a621

File tree

74 files changed

+131
-131
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+131
-131
lines changed

spec/truffle/parsing/fixtures/aliases/with_dynamic_symbols_and_interpolation_arbitrary_expression.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ ast: |
3939
valueNode_ =
4040
IntegerFixnumLiteralNode
4141
attributes:
42-
flags = 0
42+
flags = 1
4343
value = 42
4444
ToSNodeGen
4545
children:

spec/truffle/parsing/fixtures/break/with_argument.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ast: |
99
BreakNode
1010
attributes:
1111
breakID = org.truffleruby.language.control.BreakID@...
12-
flags = 0
12+
flags = 1
1313
ignoreMarker = true
1414
children:
1515
child =

spec/truffle/parsing/fixtures/break/with_multiple_arguments.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ast: |
99
BreakNode
1010
attributes:
1111
breakID = org.truffleruby.language.control.BreakID@...
12-
flags = 0
12+
flags = 1
1313
ignoreMarker = true
1414
children:
1515
child =

spec/truffle/parsing/fixtures/break/with_splat_operator.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ast: |
99
BreakNode
1010
attributes:
1111
breakID = org.truffleruby.language.control.BreakID@...
12-
flags = 0
12+
flags = 1
1313
ignoreMarker = true
1414
children:
1515
child =

spec/truffle/parsing/fixtures/break/without_argument.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ast: |
1111
BreakNode
1212
attributes:
1313
breakID = org.truffleruby.language.control.BreakID@...
14-
flags = 0
14+
flags = 1
1515
ignoreMarker = true
1616
children:
1717
child =

spec/truffle/parsing/fixtures/classes/class_with_not_empty_body.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ ast: |
7272
body = [
7373
IntegerFixnumLiteralNode
7474
attributes:
75-
flags = 0
75+
flags = 1
7676
value = 1
7777
IntegerFixnumLiteralNode
7878
attributes:
79-
flags = 0
79+
flags = 1
8080
value = 2
8181
]
8282
]

spec/truffle/parsing/fixtures/ensure/in_begin_end_block.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ ast: |
4141
descriptor = org.truffleruby.language.arguments.EmptyArgumentsDescriptor@...
4242
dispatchConfig = PRIVATE
4343
emptyKeywordsProfile = false
44-
flags = 0
44+
flags = 1
4545
isAttrAssign = false
4646
isSafeNavigation = false
4747
isSplatted = false
@@ -60,6 +60,6 @@ ast: |
6060
StringLiteralNode
6161
attributes:
6262
encoding = UTF-8
63-
flags = 0
63+
flags = 1
6464
tstring = foo
6565
]

spec/truffle/parsing/fixtures/ensure/in_module.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ ast: |
7878
descriptor = org.truffleruby.language.arguments.EmptyArgumentsDescriptor@...
7979
dispatchConfig = PRIVATE
8080
emptyKeywordsProfile = false
81-
flags = 0
81+
flags = 1
8282
isAttrAssign = false
8383
isSafeNavigation = false
8484
isSplatted = false
@@ -97,6 +97,6 @@ ast: |
9797
StringLiteralNode
9898
attributes:
9999
encoding = UTF-8
100-
flags = 0
100+
flags = 1
101101
tstring = foo
102102
]

spec/truffle/parsing/fixtures/ensure/with_empty_body.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ ast: |
3131
StringLiteralNode
3232
attributes:
3333
encoding = UTF-8
34-
flags = 0
34+
flags = 1
3535
tstring = foo
3636
]

spec/truffle/parsing/fixtures/hashes/literal.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ruby: |
1111
ast: |
1212
PackedHashStoreLibraryFactory$SmallHashLiteralNodeGen
1313
attributes:
14-
flags = 1
14+
flags = 0
1515
children:
1616
keyValues = [
1717
ObjectLiteralNode

0 commit comments

Comments
 (0)