Mesa (master): glsl: Make ast_node location comments more informative.

Kenneth Graunke kwg at kemper.freedesktop.org
Sat Mar 8 09:28:37 UTC 2014


Module: Mesa
Branch: master
Commit: 654ee41cd3beb3e6e7206c805c9879fe394e4b20
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=654ee41cd3beb3e6e7206c805c9879fe394e4b20

Author: Sir Anthony <anthony at adsorbtion.org>
Date:   Thu Feb  6 22:00:02 2014 +0600

glsl: Make ast_node location comments more informative.

Reviewed-by: Carl Worth <cworth at cworth.org>

---

 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 8820993..13e8408 100644
--- a/src/glsl/ast.h
+++ b/src/glsl/ast.h
@@ -102,10 +102,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;




More information about the mesa-commit mailing list