aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/SkSLToken.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sksl/SkSLToken.h')
-rw-r--r--src/sksl/SkSLToken.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sksl/SkSLToken.h b/src/sksl/SkSLToken.h
index b8a364c269..76a1df7f66 100644
--- a/src/sksl/SkSLToken.h
+++ b/src/sksl/SkSLToken.h
@@ -157,6 +157,8 @@ struct Token {
Position fPosition;
Kind fKind;
+ // will be the empty string unless the token has variable text content (identifiers, numeric
+ // literals, and directives)
std::string fText;
};