Skip to content

Commit fca7065

Browse files
committedNov 22, 2013
Fix last remaining specs for new sexp construction
1 parent 6d24613 commit fca7065

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎lib/opal/parser/grammar.rb

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎lib/opal/parser/grammar.y

+2-2
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ rule
317317
}
318318
| primary_value tDOT tIDENTIFIER
319319
{
320-
result = new_call val[0], value(val[2]).intern, []
320+
result = new_call val[0], val[2], []
321321
}
322322
| primary_value tCOLON2 tIDENTIFIER
323323
| primary_value tDOT tCONSTANT
@@ -937,7 +937,7 @@ rule
937937

938938
lambda: f_larglist lambda_body
939939
{
940-
result = new_call nil, :lambda, s(:arglist)
940+
result = new_call nil, [:lambda, []], []
941941
result << new_iter(val[0], val[1])
942942
}
943943

0 commit comments

Comments
 (0)
Please sign in to comment.