| Index: src/parsing/scanner.cc
|
| diff --git a/src/parsing/scanner.cc b/src/parsing/scanner.cc
|
| index 5e34c2e018d57182db8a28434b10024ac3dca279..2d5a57958336ef1ec4bb65b8ce63da1efc199a3e 100644
|
| --- a/src/parsing/scanner.cc
|
| +++ b/src/parsing/scanner.cc
|
| @@ -357,7 +357,7 @@ Token::Value Scanner::SkipSourceURLComment() {
|
|
|
|
|
| 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();
|
| @@ -578,7 +578,7 @@ void Scanner::Scan() {
|
| Advance();
|
| if (c0_ == '/') {
|
| Advance();
|
| - if (c0_ == '#') {
|
| + if (c0_ == '#' || c0_ == '@') {
|
| Advance();
|
| token = SkipSourceURLComment();
|
| } else {
|
|
|