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 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

Add a New Comment Rich Markup
   

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:
   
   
Comment:
   

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)
  •  

    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.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code