Re: [Mesa-dev] [PATCH 4/5] glsl: Reference data structure ctors in grammar

2011-06-29 Thread Kenneth Graunke
On 06/28/2011 02:48 PM, Dan McCabe wrote: We now tie the grammar to the ctors of the ASTs they reference. This requires that we actually have definitions of the ctors. In addition, we also need to define print and hir methods for the AST classes. The Print methods are pretty simple to

[Mesa-dev] [PATCH 4/5] glsl: Reference data structure ctors in grammar

2011-06-28 Thread Dan McCabe
We now tie the grammar to the ctors of the ASTs they reference. This requires that we actually have definitions of the ctors. In addition, we also need to define print and hir methods for the AST classes. The Print methods are pretty simple to flesh out. However, at this stage of the