bugnyacc parser generator - Bugs: bug #62728, repeated typedef not parsing...

 
 

bug #62728: repeated typedef not parsing correctly

Submitter:  Matt Wette <mwette>
Submitted:  Sat 09 Jul 2022 01:42:25 PM UTC
 
Category:  None Severity:  4 - Important
Item Group:  None Status:  Confirmed
Privacy:  Public Assigned to:  mwette
Open/Closed:  Open
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       No canned response available

 

Sat 09 Jul 2022 01:42:25 PM UTC, original submission:  

THis occurs in 1.07.0.

  typedef struct abc abc_t;

  typedef struct abc { int x; } abc_t;

yields

(decl (decl-spec-list
        (stor-spec (typedef))
        (type-spec
          (struct-def
            (ident "abc")
            (field-list
              (comp-decl
                (decl-spec-list (type-spec (fixed-type "int")))
                (comp-declr-list (comp-declr (ident "x")))))))
        (type-spec (typename "abc_t"))))

Matt Wette <mwette>
Project 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 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.

     

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.9