summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2017-12-23 09:44:00 +0900
committerGitHub <[email protected]>2017-12-23 09:44:00 +0900
commit7990bb7fa7ea9a0438aa8d06a76a60c39451b692 (patch)
tree46ab4c39e6784ac4bb6efbe4af28bfd6653d5f8c /src
parent100f0e6759be8e439e586acf01032d2b8b96c6bd (diff)
parent06f90a3b45fa4f241bbc43e91287aa9a127dc8c3 (diff)
downloadmruby-7990bb7fa7ea9a0438aa8d06a76a60c39451b692.tar.gz
mruby-7990bb7fa7ea9a0438aa8d06a76a60c39451b692.zip
Merge pull request #3913 from llothar/master
Make source compilable with C++17
Diffstat (limited to 'src')
-rw-r--r--src/string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/string.c b/src/string.c
index d4dc517cf..c2284d552 100644
--- a/src/string.c
+++ b/src/string.c
@@ -2835,8 +2835,8 @@ mrb_float_read(const char *string, char **endPtr)
int sign, expSign = FALSE;
double fraction, dblExp;
const double *d;
- register const char *p;
- register int c;
+ const char *p;
+ int c;
int exp = 0; /* Exponent read from "EX" field. */
int fracExp = 0; /* Exponent that derives from the fractional
* part. Under normal circumstatnces, it is