hzzc1987 / jnaerator

Automatically exported from code.google.com/p/jnaerator
0 stars 0 forks source link

Fix parsing of signature of functions returning pointers #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
{{{ int* (*x)(); }}} isn't parsed right now.
This is a serious issue, related to the more general variables storage parsing 
limitations.

Original issue reported on code.google.com by olivier.chafik@gmail.com on 19 Feb 2009 at 10:08

GoogleCodeExporter commented 8 years ago

Original comment by olivier.chafik@gmail.com on 19 Feb 2009 at 10:13

GoogleCodeExporter commented 8 years ago
The code given in the bug description is now properly parsed, but there is more 
in-depth work to do to support 
declarations and types 
(http://msdn.microsoft.com/en-us/library/dsyxx40f(VS.80).aspx).

For instance, {{{ char *(*(**foo[][8])())[]; }}} is still known not to parse.

Work has begun on that broader issue (involves transforming VariableStorage to 
Declarator and write as many 
Declarator subclasses as needed).

Original comment by olivier.chafik@gmail.com on 20 Feb 2009 at 9:36

GoogleCodeExporter commented 8 years ago

Original comment by olivier.chafik@gmail.com on 21 Feb 2009 at 9:58

GoogleCodeExporter commented 8 years ago
see http://ochafik.free.fr/blog/?p=125

Original comment by olivier.chafik@gmail.com on 14 Mar 2009 at 11:48