diff --git a/lib/sorcerer/resource.rb b/lib/sorcerer/resource.rb index 397983c..5d4e188 100644 --- a/lib/sorcerer/resource.rb +++ b/lib/sorcerer/resource.rb @@ -460,7 +460,7 @@ def determine_regexp_delimiters(sexp) }, :call => lambda { |sexp| resource(sexp[1]) - emit(sexp[2]) + resource(sexp[2]) resource(sexp[3]) unless sexp[3] == :call }, :case => lambda { |sexp|