IDL lexer: Allow hyphens(-) in IDL identifier

Web IDL spec allows hyphen since August 2014.
https://heycam.github.io/webidl/#idl-grammar
This CL follows the update.


Bug: None
Change-Id: I695eed71417b524755b980f3efed5107bc7d29bf
Reviewed-on: https://chromium-review.googlesource.com/1092219
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Kenichi Ishibashi <bashi@chromium.org>
Commit-Queue: Hitoshi Yoshida <peria@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#565573}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3425b297a278c9b5326942c7da4e178a5574fe37
2 files changed