diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2013-07-30 23:53:50 +0300 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2013-07-30 23:53:50 +0300 |
| commit | e440f343b8c2d94f9ff41b64c493644512135651 (patch) | |
| tree | f0bdf7c30e443c47f86144b9c356b36a182e082d /mparser.py | |
| parent | a569807766bff160f2c35f6a22dee8c53482df73 (diff) | |
| download | meson-e440f343b8c2d94f9ff41b64c493644512135651.tar.gz | |
Variable names can begin with an underscore.
Diffstat (limited to 'mparser.py')
| -rw-r--r-- | mparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mparser.py b/mparser.py index e9cad0f66..ee0f22ffb 100644 --- a/mparser.py +++ b/mparser.py @@ -78,7 +78,7 @@ precedence = ( ) def t_ATOM(t): - '[a-zA-Z][_0-9a-zA-Z]*' + '[_a-zA-Z][_0-9a-zA-Z]*' t.type = reserved.get(t.value, 'ATOM') return t |
