Synopsis - Issue Tracker

Bug89 Editing

Title const modifier missing in AST for const class members
Created on 2006-01-30.10:43:03 by anonymous, last changed 2006-03-28.15:13:57 by stefan.
assigned to stefan priority normal
type behavior severity normal
components C++ parser platform GNU/Linux
status closed resolution fixed
depends on superseded by
Add Comment:
File
CC List:? littletux, stefan

Messages
Author: anonymous Date: 2006-01-30.10:43:02
The "const" modifier of constant class members is not returned by the postmodifier() function when visiting an operation. It is still part of the parse tree, but missing from the AST. The attached file contains a test case which fails with the current implementation, and also a fix which adds the postmodifier implementation (it simply seemed to be missing).
Author: stefan Date: 2006-01-30.12:56:04
Thanks, I'll look into your patch.
Author: stefan Date: 2006-01-30.16:23:05
I just checked in a modified version of your patch
to the Synopsis_0_8 branch (see rev:1640), which 
seems to work fine. Thanks !
Can you confirm that it works now (in the 
Synopsis_0_8 branch) ?

The CxxParserRewrite branch code is very 
different, so a fix there will have to be 
different, too. I'll leave this issue open
until this bug is solved on both branches.
Author: stefan Date: 2006-03-28.15:13:57
No news is good news, right ?
Files
File nameUploaded
patch anonymous, 2006-01-30.10:43:03
History
Date User Action Args
2006-01-30 10:43:05anonymouscreate
2006-01-30 12:56:06stefansetstatus: new
assignedto: (no value)
messages: + msg490
components: + C++ parser, - Cpp parser
nosy: + littletux, stefan, - anonymous
2006-01-30 16:23:05stefansetmessages: + msg491
2006-03-28 15:13:58stefansetstatus: open
messages: + msg514
resolution: (no value)