<< Back to previous view

[PCC-264] syntax error compiling variable name same as typedef Created: 27/Feb/11  Updated: 22/Aug/12

Status: Resolved
Project: pcc
Component/s: C frontend
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Iain Hibbert Assignee: Anders Magnusson
Resolution: Fixed Votes: 0
Environment: NetBSD/i386

File Attachments: File test.c    

compiling the attached file with "pcc test.c" fails with "syntax error" at the marked line

Comment by Anders Magnusson [ 27/Feb/11 09:58 PM ]
Yetch, this was an ugly one. How did you find this? :-)
Comment by Anders Magnusson [ 27/Feb/11 10:05 PM ]
Fixed. Type conversions should not be propagated down if it is a ? or , operator.
Comment by Anders Magnusson [ 27/Feb/11 10:08 PM ]
Sorry, closed the wrong issue.
Comment by Anders Magnusson [ 22/Aug/12 07:06 PM ]
Eep, I have missed this issue. Fixed now, thanks.
Generated at Fri Oct 20 23:27:38 CEST 2017 using JIRA Enterprise Edition, Version: 3.13.1-#333.