IDL parser: Ignore comments
Before this CL the base lexer treated comments as tokens and the base parser had some custom rules to handle special comments like copyrights. Blink's lexer/parser needed to extend the base lexer/parser to remove comments as otherwise comments must be explicitly included in the grammar. Since the base parser is only used by Blink and Blink doesn't need comments (at least now), it makes sense to ignore comments in the base lexer/parser. This enables us to remove all custom rules from BlinkIDLParser. BUG=617899 Change-Id: I6ead510680457dfb13ed9797ac056c34c185e292 Reviewed-on: https://chromium-review.googlesource.com/544424 Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Reviewed-by:Yuki Shiino <yukishiino@chromium.org> Reviewed-by:
Hitoshi Yoshida <peria@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#481863}
Showing
Please register or sign in to comment