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:  Invalid
Privacy:  Public Assigned to:  mwette
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 04 Jul 2025 07:39:17 PM UTC, comment #1: 

not sure what it should do - seems OK

Matt Wette <mwette>
Group administrator
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>
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 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
    2025-07-04 mwette StatusConfirmed Invalid
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.15-e6e5.
    Corresponding source code