Wed 13 May 2015 09:13:27 PM UTC, comment #6:
Sorry, my change was probably made to hastily. I don't know what I was thinking, but yeah, keywords should probably be allowed as structure field names. Fixing that will require a little more refactoring so that the is_keyword_token function doesn't set the at_beginning_of_statement flag. I'll fix this, but it will probably not happen until later tonight or tomorrow.
|
Wed 13 May 2015 08:57:05 PM UTC, comment #5:
According to the documentation for functions()
So the quick and obvious thing to do would be to change the field name to something that is not 'function'. In fact, I think this would be clearer. Again, according to the documentation,
I propose using a field called 'fcnname' or 'name' or 'fcn_name' or maybe 'fname' but that last one looks like filename.
|
Wed 13 May 2015 07:52:27 PM UTC, comment #4:
After this C'set the initial problem is solved but now test ov-fcn-handle.cc-tst fails (fntests.log at the end).
The problem is this example code
which now fails with
Reopening bugreport.
fntests.log:
|