lib/gisele/language/syntax/task_def.rb in gisele-0.3.0 vs lib/gisele/language/syntax/task_def.rb in gisele-0.4.0
- old
+ new
@@ -6,10 +6,10 @@
def _to_ast
name = captures[:task_name].first.strip
defs = captures[:some_def].map{|x| x.to_ast}
ref = captures[:explicit_statement].map{|x| x.to_ast}.first
- ref = [:nop] unless ref
+ ref = [:nop_st] unless ref
[:task_def, name] + defs + [ref]
end
end # module TaskDef
end # module Syntax
\ No newline at end of file