bugmake - Bugs: bug #47419, Make it possible to call...


bug #47419: Make it possible to call zero-argument plugin macros without awkward syntax

Submitted by:  Brian Vandenberg <phantal>
Submitted on:  Tue 15 Mar 2016 03:47:58 PM UTC  
Severity:  3 - Normal Item Group:  Enhancement
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Component Version:  4.1 Operating System:  Any
Fixed Release:  None Triage Status:  None

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Tue 15 Mar 2016 03:47:58 PM UTC, original submission:  

Currently you can create a plugin macro that requires zero arguments but there's two problems:

  1. You cannot set the minimum and maximum to zero (as opposed to zero or more).  If the max could be set to zero then the parsing code could be optimized to expect no argument.
  2. The syntax to call a zero-argument API macro is rather awkward:

$(my_macro )

# or:
$(call my_macro)

Brian Vandenberg <phantal>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by phantal (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.5