diff options
| author | mirichi <[email protected]> | 2013-06-14 20:01:03 +0900 |
|---|---|---|
| committer | mirichi <[email protected]> | 2013-06-14 20:01:03 +0900 |
| commit | a5f63e486473595d67601851f00b6bb96b377a8d (patch) | |
| tree | 8550bf598238104c6490d15ad2db20d4c103ea75 /src/parse.y | |
| parent | 4b2bdbe2cc0e3b1b0f6916bdc308933f17f74537 (diff) | |
| parent | dbc93621c94b9b2d2b437cde40d8efec7337a64d (diff) | |
| download | mruby-a5f63e486473595d67601851f00b6bb96b377a8d.tar.gz mruby-a5f63e486473595d67601851f00b6bb96b377a8d.zip | |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/parse.y')
| -rw-r--r-- | src/parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse.y b/src/parse.y index 54e8eafce..f5dbdb6fd 100644 --- a/src/parse.y +++ b/src/parse.y @@ -4925,7 +4925,7 @@ parser_yylex(parser_state *p) pushback(p, c); } } - if (result == 0 && isupper((int)tok(p)[0])) { + if (result == 0 && isupper((int)(unsigned char)tok(p)[0])) { result = tCONSTANT; } else { |
