diff options
author | Bernard Normier <bernard@zeroc.com> | 2016-10-26 14:59:13 -0400 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2016-10-26 14:59:13 -0400 |
commit | 0f6fa297e2d65296431321b393c45b110bd6dec6 (patch) | |
tree | a333694434478703fce550f8136c096cd4bd5990 /cpp/src/Slice | |
parent | Fix typo in python Slice/unicodePaths test (diff) | |
download | ice-0f6fa297e2d65296431321b393c45b110bd6dec6.tar.bz2 ice-0f6fa297e2d65296431321b393c45b110bd6dec6.tar.xz ice-0f6fa297e2d65296431321b393c45b110bd6dec6.zip |
Adding '6' as allowed leading digit in octal escape sequence parsing
Diffstat (limited to 'cpp/src/Slice')
-rw-r--r-- | cpp/src/Slice/Scanner.cpp | 1 | ||||
-rw-r--r-- | cpp/src/Slice/Scanner.l | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/Slice/Scanner.cpp b/cpp/src/Slice/Scanner.cpp index fc2fc290dac..b90e7bed501 100644 --- a/cpp/src/Slice/Scanner.cpp +++ b/cpp/src/Slice/Scanner.cpp @@ -1207,6 +1207,7 @@ YY_RULE_SETUP case '3': case '4': case '5': + case '6': case '7': { static string octalDigits = "01234567"; diff --git a/cpp/src/Slice/Scanner.l b/cpp/src/Slice/Scanner.l index 9054c1e90ed..083cd55a7d4 100644 --- a/cpp/src/Slice/Scanner.l +++ b/cpp/src/Slice/Scanner.l @@ -333,6 +333,7 @@ floating_literal (({fractional_constant}{exponent_part}?)|((\+|-)?[[:digit:]]+{e case '3': case '4': case '5': + case '6': case '7': { static string octalDigits = "01234567"; |