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

2011-06-27 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/24/2011 01:06 PM, Dan McCabe wrote: > On 06/20/2011 03:34 PM, Ian Romanick wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> On 06/17/2011 05:43 PM, Dan McCabe wrote: >>> We now tie the grammar to the ctors of the ASTs they referen

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

2011-06-24 Thread Dan McCabe
On 06/20/2011 03:34 PM, Ian Romanick wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/17/2011 05:43 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

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

2011-06-20 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/17/2011 05:43 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 AS

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

2011-06-17 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. At this stage of the development, we simply stub out the "print" and "hir" methods and f