Synopsis - Issue Tracker

Bug141 Editing

Title rejects empty but valid ptree
Created on 2007-05-09.20:13:16 by blindvt, last changed 2007-05-18.12:53:35 by stefan.
assigned to stefan priority normal
type behavior severity normal
components C parser, C++ parser platform
status closed resolution fixed
depends on superseded by
Add Comment:
File
CC List:? blindvt, stefan

Messages
Author: blindvt Date: 2007-05-09.20:13:13
For this inputfile:
-----8<-----
#include <features.h>
-----8<-----
There are no parse errors, but the parse tree is empty since there are only defines in this header.

We currently reject this ptree==0

Attached patch fixes this.
Author: blindvt Date: 2007-05-12.20:42:50
Stefan said that it doesn't make sense to translate an empty ptree. Updated patch which obsoletes synopsis-0.9.1-fix-bug141.00.diff is attached.

The updated patch is named
synopsis-trunk.bug141.01.diff

Ok to apply?
Author: stefan Date: 2007-05-18.12:53:27
Fixed as per rev:1823.
Thanks !
Files
File nameUploaded
synopsis-0.9.1-fix-bug141.00.diff blindvt, 2007-05-09.20:15:29
synopsis-trunk.bug141.01.diff blindvt, 2007-05-12.20:42:52
History
Date User Action Args
2007-05-09 20:13:21blindvtcreate
2007-05-09 20:15:31blindvtsetfiles: + synopsis-0.9.1-fix-bug141.00.diff
2007-05-12 20:42:57blindvtsetfiles: + synopsis-trunk.bug141.01.diff
messages: + msg691
2007-05-18 12:53:45stefansetstatus: new
nosy: + stefan
messages: + msg695
assignedto: (no value)
components: + C++ parser
resolution: (no value)