bugKimwitu++ - Bugs: bug #2303, kc++ generates invalid C++

 
 

bug #2303: kc++ generates invalid C++

Submitted by:  Martin v. Loewis <loewis>
Submitted on:  Mon 20 Jan 2003 10:08:03 PM UTC  
 
Category: code generationSeverity: 6 - Security
Priority: 9 - ImmediateStatus: Fixed
Assigned to: Michael Piefel <piefel>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 20 Jan 2003 10:08:11 PM UTC, comment #3:

Tue, 14 May 2002 11:00:28 GMT
Fixed in 2.1.6 M2

Michael Piefel <piefel>
Project AdministratorIn charge of this item.
Mon 20 Jan 2003 10:08:09 PM UTC, comment #2:

Thu, 16 May 2002 07:20:27 GMT
Forgot to close the bug.

Michael Piefel <piefel>
Project AdministratorIn charge of this item.
Mon 20 Jan 2003 10:08:07 PM UTC, comment #1:

piefel Tue, 14 May 2002 09:24:53 GMT assigned_to 100
piefel Tue, 14 May 2002 09:25:46 GMT priority 5
piefel Tue, 14 May 2002 09:25:46 GMT bug_group_id 100
piefel Tue, 14 May 2002 11:00:28 GMT resolution_id 100
piefel Thu, 16 May 2002 07:20:27 GMT status_id 1
piefel Thu, 16 May 2002 07:20:27 GMT close_date 0

Anonymous
Mon 20 Jan 2003 10:08:03 PM UTC, original submission:

Original-Id: 177
Date: Fri, 10 May 2002 07:57:51 GMT
Given

AS0_rule:
loop_statement()
;

l = loop_statement
-> < : l>;

kc++ 2.1.5 generates

#line 5 "a.k"
const AS0_rule l = ((()) ? this : loop_statement());

The condition of the ?: is incorrect.

Martin v. Loewis <loewis>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 20 Jan 2003 10:08:14 PM UTCpiefelSeverity3 - Normal=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)
  StatusNone=>(Error - Not Found)
  Assigned toNone=>NA

Back to the top


Powered by Savane 3.1-cleanup1