diff options
author | Timothy Arceri <t_arceri@yahoo.com.au> | 2014-01-23 23:16:41 +1100 |
---|---|---|
committer | Timothy Arceri <t_arceri@yahoo.com.au> | 2014-01-23 23:31:10 +1100 |
commit | bfb48750f08223fdf1c2d7bf4db1bba5a1088a7c (patch) | |
tree | 35708cca3bc36c503bce20aebe577b55b78846ed /src/glsl/ast_type.cpp | |
parent | 72288e0c7b7ec769da71fbaf124ec4ee8be7577b (diff) |
glsl: Add ARB_arrays_of_arrays support to yacc definition and ast
Adds array specifier object to hold array information
Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Diffstat (limited to 'src/glsl/ast_type.cpp')
-rw-r--r-- | src/glsl/ast_type.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/glsl/ast_type.cpp b/src/glsl/ast_type.cpp index d758bfa1f2a..0dd1180c37f 100644 --- a/src/glsl/ast_type.cpp +++ b/src/glsl/ast_type.cpp @@ -33,13 +33,9 @@ ast_type_specifier::print(void) const } if (is_array) { - printf("[ "); - - if (array_size) { - array_size->print(); + if (array_specifier) { + array_specifier->print(); } - - printf("] "); } } |