bugnyacc parser generator - Bugs: bug #62546, comments in macro functions not...

 
 

bug #62546: comments in macro functions not accepted by c99 parser

Submitter:  Matt Wette <mwette>
Submitted:  Mon 30 May 2022 02:09:52 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  mwette
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 07 Oct 2022 08:52:42 PM UTC, comment #2: 

Thanks for fixing this. It works great!

I am leaving this comment in hope to keep Savannah from deleting my account.

Kind regards
Felix Lechner

Felix Lechner <lechner>
Mon 30 May 2022 02:21:31 PM UTC, comment #1: 

fixed.  Should appear in nyacc-1.07

Matt Wette <mwette>
Group administrator
Mon 30 May 2022 02:09:52 PM UTC, original submission:  

User reported this on #guile:

#define PAM_BPC_FOR_CLIENT(/* pamc_bp_t */ prompt)                           \
    (((prompt)->control <= PAM_BPC_FAIL && (prompt)->control >= PAM_BPC_OK)   \
     ? PAM_BPC_TRUE:PAM_BPC_FALSE)

Which I interpret as issue with

#define FOO( /* comment */ X) (X)

targeting 1.07 fix

Matt Wette <mwette>
Group administrator

 

(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 lechner (Posted a comment)
  • -email is unavailable- added by mwette (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.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-05-30 mwette StatusConfirmed Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.15-e6e5.
    Corresponding source code