| Index: mojo/public/tools/bindings/pylib/mojom/parse/lexer.py
|
| diff --git a/mojo/public/tools/bindings/pylib/mojom/parse/lexer.py b/mojo/public/tools/bindings/pylib/mojom/parse/lexer.py
|
| index beceabcce7771f40ab0a8169cea9a1f2352e9fa8..18d1b13c8c96819157fbc2c4267921b2f895e612 100644
|
| --- a/mojo/public/tools/bindings/pylib/mojom/parse/lexer.py
|
| +++ b/mojo/public/tools/bindings/pylib/mojom/parse/lexer.py
|
| @@ -113,8 +113,8 @@ class Lexer(object):
|
| ## Regexes for use in tokens
|
| ##
|
|
|
| - # valid C identifiers (K&R2: A.2.3), plus '$' (supported by some compilers)
|
| - identifier = r'[a-zA-Z_$][0-9a-zA-Z_$]*'
|
| + # valid C identifiers (K&R2: A.2.3)
|
| + identifier = r'[a-zA-Z_][0-9a-zA-Z_]*'
|
|
|
| hex_prefix = '0[xX]'
|
| hex_digits = '[0-9a-fA-F]+'
|
|
|