Opened 10 years ago

Closed 10 years ago

#35 closed defect (fixed)

specdomain: rdef functions are not handled properly

Reported by: jemian Owned by: jemian
Priority: major Milestone:
Keywords: Cc:

Description

It is possible to have an rdef function, such as this SPEC macro fragment:

rdef shutter_user_precount_func() \'{shutter_open}; \'

# rdef of a macro function with two arguments
rdef maximum_value(a, b) '{
  """
  Return the larger of two values.

  """

  return a > b ? a : b
}'

At present, the parser treats this as only one macro so something is wrong with the end of macro detection.

Change History (2)

comment:1 Changed 10 years ago by jemian

  • Summary changed from rdef functions are not handled properly to specdomain: rdef functions are not handled properly

comment:2 Changed 10 years ago by jemian

  • Resolution set to fixed
  • Status changed from new to closed

(In [1124]) fixes #35 and #36

Note: See TracTickets for help on using tickets.