[Rock-dev] [rock] #413: orogen: syntax error in missing dot before doc("")

rock noreply at opendfki.de
Thu Jan 16 14:39:41 CET 2014


#413: orogen: syntax error in missing dot before doc("")
---------------------+------------------------------------
 Reporter:  mzenzes  |       Owner:  rock-dev-mailing-list
     Type:  defect   |      Status:  new
 Priority:  minor    |   Milestone:
Component:  base     |  Resolution:
 Keywords:  orogen   |
---------------------+------------------------------------

Comment (by sylvain.joyeux):

 This is because the doc() then applies to document the task context
 (instead of the port) and this is therefore legal.

 Note that one does not have to call doc() anymore. Comments are used as
 documentation now, so

 {{{
 # This is the Test task context, and this comment is going to be used for
 # documentation
 task_context "Test" do
     # And this documents the 'in port'
     input_port("in", "/int")
 end
 }}}

-- 
Ticket URL: <http://rock.opendfki.de/ticket/413#comment:2>
rock <http://rock.opendfki.de>
rock: the robot construction kit


More information about the Rock-dev mailing list