gmock_gen.py can't parse class definitions with compiler attributes
Opened this issue · 1 comments
GoogleCodeExporter commented
Script fails on legal class definition like in failed2.cpp or in failed.cpp.
What steps will reproduce the problem?
1. gmock_gen.py failed2.cpp
2. gmock_gen.py failed.cpp
What is the expected output?
class MockA : public A {
public:
MOCK_METHOD0(foo,
void());
};
What do you see instead?
Got non-typedef token in failed2.cpp @ Token('(', 19, 20) []
Got exception in failed2.cpp @ Token('public', 37, 43) []
Which version of Google Mock are you using? On what operating system?
1.5.0. Windows XP, SP3
Please provide any additional information below.
Python 2.7
Original issue reported on code.google.com by aleksand...@gmail.com
on 25 Aug 2010 at 7:15
Attachments:
GoogleCodeExporter commented
Original comment by zhanyong...@gmail.com
on 30 Aug 2010 at 5:53
- Changed state: Accepted
- Added labels: OpSys-All, Priority-Low
- Removed labels: Priority-Medium