[Mesa-dev] [PATCH] glsl: Make ast_node location comments more informative.

Sir Anthony anthony at adsorbtion.org
Thu Feb 6 08:00:02 PST 2014


---
 src/glsl/ast.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/glsl/ast.h b/src/glsl/ast.h
index 8e54ddc..50b95bf 100644
--- a/src/glsl/ast.h
+++ b/src/glsl/ast.h
@@ -116,10 +116,10 @@ public:
     */
    struct {
       unsigned source;          /**< GLSL source number. */
-      unsigned first_line;      /**< Line number within the source string. */
-      unsigned first_column;    /**< Column in the line. */
-      unsigned last_line;       /**< Line number within the source string. */
-      unsigned last_column;     /**< Column in the line. */
+      unsigned first_line;      /**< First line number within the source string. */
+      unsigned first_column;    /**< First column in the first line. */
+      unsigned last_line;       /**< Last line number within the source string. */
+      unsigned last_column;     /**< Last column in the last line. */
    } location;
 
    exec_node link;
-- 
1.8.3.2



More information about the mesa-dev mailing list