glsl: new glsl_strtod() wrapper to fix decimal point interpretation
[mesa.git] / src / glsl / ast_type.cpp
index cb0852bb77331484e97b1ee52ef996d91d54c97d..b7488cf6e90e7f722c690162fbc00dae9dd768dd 100644 (file)
@@ -23,7 +23,9 @@
 
 #include <cstdio>
 #include "ast.h"
-#include "symbol_table.h"
+extern "C" {
+#include "program/symbol_table.h"
+}
 
 void
 ast_type_specifier::print(void) const
@@ -108,3 +110,9 @@ ast_type_specifier::ast_type_specifier(int specifier)
 
    type_name = names[specifier];
 }
+
+bool
+ast_fully_specified_type::has_qualifiers() const
+{
+   return this->qualifier.flags.i != 0;
+}