fix or remove tests (language syntax changing)

This commit is contained in:
Torsten Ruger
2015-09-13 19:02:18 +03:00
parent 5e9743be6c
commit 40f9ab78e5
3 changed files with 15 additions and 71 deletions

17
lib/skip/call_site.rb Normal file
View File

@ -0,0 +1,17 @@
module Parser
module CallSite
include output
rule(:argument_list) {
left_parenthesis >>
( ((operator_expression|value_expression).as(:argument) >> space? >>
(comma >> space? >> (operator_expression|value_expression).as(:argument)).repeat(0)).repeat(0,1)).as(:argument_list) >>
space? >> right_parenthesis
}
rule(:call_site) { ((module_name|instance_variable|basic_type).as(:receiver) >> str(".")).maybe >> #possibly qualified
name.as(:call_site) >> argument_list >> comment.maybe}
end
end