• Kenichi Ishibashi's avatar
    IDL parser: Ignore comments · 4e46f03a
    Kenichi Ishibashi authored
    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: default avatarYuki Shiino <yukishiino@chromium.org>
    Reviewed-by: default avatarHitoshi Yoshida <peria@chromium.org>
    Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#481863}
    4e46f03a
values.in 482 Bytes