Index: src/scanner.cc |
diff --git a/src/scanner.cc b/src/scanner.cc |
index f6e354a23c2e91d7fdbdf7c6d6385c9b99421ef9..7e429718ec96c5e56b1dc17121bf64543f5fd768 100644 |
--- a/src/scanner.cc |
+++ b/src/scanner.cc |
@@ -356,7 +356,7 @@ |
void Scanner::TryToParseSourceURLComment() { |
- // Magic comments are of the form: //[#]\s<name>=\s*<value>\s*.* and this |
+ // Magic comments are of the form: //[#@]\s<name>=\s*<value>\s*.* and this |
// function will just return if it cannot parse a magic comment. |
if (c0_ < 0 || !unicode_cache_->IsWhiteSpace(c0_)) return; |
Advance(); |
@@ -574,7 +574,7 @@ |
Advance(); |
if (c0_ == '/') { |
Advance(); |
- if (c0_ == '#') { |
+ if (c0_ == '@' || c0_ == '#') { |
Advance(); |
token = SkipSourceURLComment(); |
} else { |