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

 
 

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

Submitter:  Brian Vandenberg <phantal>
Submitted:  Tue 15 Mar 2016 03:47:58 PM UTC
   
 
Severity:  3 - Normal Priority:  5 - 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
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

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>

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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

    Votes

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

    History

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.16-2753.
    Corresponding source code