diff options
| author | Yukihiro Matz Matsumoto <[email protected]> | 2013-03-14 18:47:59 +0900 |
|---|---|---|
| committer | Yukihiro Matz Matsumoto <[email protected]> | 2013-03-14 18:47:59 +0900 |
| commit | 535a5489c7028378d9388aa187c7edb946595ec7 (patch) | |
| tree | 0e7aff3573f406b746e0a5eb80d631c4a7d499c6 /src/parse.y | |
| parent | 1ebebd304a1a1012b29679434b92db20f324371c (diff) | |
| download | mruby-535a5489c7028378d9388aa187c7edb946595ec7.tar.gz mruby-535a5489c7028378d9388aa187c7edb946595ec7.zip | |
remove PARANOID from comments
Diffstat (limited to 'src/parse.y')
| -rw-r--r-- | src/parse.y | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/parse.y b/src/parse.y index 0eb8da25a..c4b83bbab 100644 --- a/src/parse.y +++ b/src/parse.y @@ -3399,8 +3399,7 @@ scan_oct(const int *start, int len, int *retlen) const int *s = start; int retval = 0; - /* PARANOID: assert(len <= 3) */ - + /* assert(len <= 3) */ while (len-- && *s >= '0' && *s <= '7') { retval <<= 3; retval |= *s++ - '0'; @@ -3418,8 +3417,7 @@ scan_hex(const int *start, int len, int *retlen) register int retval = 0; char *tmp; - /* PARANOID: assert(len <= 2) */ - + /* assert(len <= 2) */ while (len-- && *s && (tmp = strchr(hexdigit, *s))) { retval <<= 4; retval |= (tmp - hexdigit) & 15; |
