IDL lexer: Update regexp of IDL identifier tokens

WebIDL spec was updated to accept a leading hyphen in identifier
tokens. This CL follows the update.

Note that this CL makes the lexer accept '-foo' style as a *token*,
so we need more updates to accept it as an *identifier*.

Bug: 850972
Change-Id: Ia484a02380db137ac7a9528ab8b63fd9d0ded152
Reviewed-by: Kenichi Ishibashi <>
Reviewed-by: Kentaro Hara <>
Reviewed-by: Yuki Shiino <>
Commit-Queue: Hitoshi Yoshida <>
Cr-Original-Commit-Position: refs/heads/master@{#627795}
Cr-Mirrored-Commit: 94b8830b17a394bd090d5592435123b827310461
2 files changed