| Index: src/parsing/parser.h
|
| diff --git a/src/parsing/parser.h b/src/parsing/parser.h
|
| index 94f83ff2e78cbf2e986fc22430ea3b84502b417e..d670a1c0d2c7a8ce5bc5fcb15758402ff9ed8198 100644
|
| --- a/src/parsing/parser.h
|
| +++ b/src/parsing/parser.h
|
| @@ -121,6 +121,10 @@ class ParseInfo {
|
| uint32_t hash_seed() { return hash_seed_; }
|
| void set_hash_seed(uint32_t hash_seed) { hash_seed_ = hash_seed; }
|
|
|
| + bool allow_html_comments() const {
|
| + return !script_.is_null() && script_->origin_options().AllowHtmlComments();
|
| + }
|
| +
|
| //--------------------------------------------------------------------------
|
| // TODO(titzer): these should not be part of ParseInfo.
|
| //--------------------------------------------------------------------------
|
|
|