diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2008-09-14 19:14:55 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2008-09-14 19:14:55 (GMT) |
commit | ec8cd7293a58213bac5967a3a3ccc7dc55ba19fe (patch) | |
tree | 7c2a1d6f7f4f4a314acdd54d620ac8a75519e369 /src/cppvalue.cpp | |
parent | 1b605218ded157b8c128418fb86b0e53c8c3d452 (diff) | |
download | Doxygen-ec8cd7293a58213bac5967a3a3ccc7dc55ba19fe.zip Doxygen-ec8cd7293a58213bac5967a3a3ccc7dc55ba19fe.tar.gz Doxygen-ec8cd7293a58213bac5967a3a3ccc7dc55ba19fe.tar.bz2 |
Release-1.5.6-20080914
Diffstat (limited to 'src/cppvalue.cpp')
-rw-r--r-- | src/cppvalue.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/cppvalue.cpp b/src/cppvalue.cpp index af4b03d..7acce1f 100644 --- a/src/cppvalue.cpp +++ b/src/cppvalue.cpp @@ -71,7 +71,15 @@ CPPValue parseCharacter() // does not work for '\n' and the alike case '?': return CPPValue((long)'\?'); case '\'': return CPPValue((long)'\''); case '"': return CPPValue((long)'"'); - case '0': return parseOctal(); + case '0': // fall through + case '1': // fall through + case '2': // fall through + case '3': // fall through + case '4': // fall through + case '5': // fall through + case '6': // fall through + case '7': // fall through + return parseOctal(); case 'x': case 'X': return parseHexadecimal(); default: printf("Invalid escape sequence %s found!\n",g_strToken.data()); |