diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-04-19 19:40:26 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-04-19 19:40:26 -0700 |
| commit | cb1a978f3e3513b8df77774b60be1d11be517766 (patch) | |
| tree | 165cb645a363909a654767f934a4bfa9de50825b /src/parse.y | |
| parent | 9269703480eff1d9c4ea8b34a46f17bc914a4b99 (diff) | |
| parent | c5712bcb3f833c28d2e25b34f35d34fe64bd0bde (diff) | |
| download | mruby-cb1a978f3e3513b8df77774b60be1d11be517766.tar.gz mruby-cb1a978f3e3513b8df77774b60be1d11be517766.zip | |
Merge pull request #1190 from lateau/master
tiny fix on parser.y: change isxdigit to ISXDIGIT
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 7972e87c4..816b4cec9 100644 --- a/src/parse.y +++ b/src/parse.y @@ -3482,7 +3482,7 @@ read_escape(parser_state *p) for (i=0; i<2; i++) { buf[i] = nextc(p); if (buf[i] == -1) goto eof; - if (!isxdigit(buf[i])) { + if (!ISXDIGIT(buf[i])) { pushback(p, buf[i]); break; } |
