Donate Share

Mock Objects for C++

Tracker: Bugs

5 mockpp2xml parsing problem - ID: 2166380
Last Update: Settings changed ( ewald-arnold )

mockpp2xml can't parse the following construct

public mockpp_methods:
virtual void dummy(int priority, string& message)
{
class no_action
{

};
throw no_action();
}

with an error

In line 100 : syntax error, unexpected T_THROW, expecting T_TILDE.


Oleg Zhylin ( ovz ) - 2008-10-14 16:42

5

Closed

None

Nobody/Anonymous

None

None

Public


Comment ( 1 )




Date: 2008-10-15 20:15
Sender: nobody

Hello,

as already mentioned in the docs, parsing c++ is not a trivial task. So
unless some lex/yacc guru is able to fix the grammer of the parser there is
no other solution as to "fix" your sources which means to simplify them
until the become parsed. Sorry, but that's all I can offer for now.

greets


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 2 )

Field Old Value Date By
status_id Open 2008-10-15 20:17 ewald-arnold
close_date - 2008-10-15 20:17 ewald-arnold