Index: tools/gn/tokenizer.cc |
diff --git a/tools/gn/tokenizer.cc b/tools/gn/tokenizer.cc |
index 402b5ecaeb03ac49e777caaedc0158abaaa043c2..567fa72b479e92f824e48e43943461a6f9904792 100644 |
--- a/tools/gn/tokenizer.cc |
+++ b/tools/gn/tokenizer.cc |
@@ -388,6 +388,8 @@ Err Tokenizer::GetErrorForInvalidToken(const Location& location) const { |
(input_[cur_ + 1] == '/' || input_[cur_ + 1] == '*')) { |
// Different types of comments. |
help = "Comments should start with # instead"; |
+ } else if (cur_char() == '\'') { |
+ help = "Strings are delimited by \" characters, not apostrophes."; |
} else { |
help = "I have no idea what this is."; |
} |