diff options
author | YamaArashi <shadow962@live.com> | 2016-06-05 22:00:06 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-06-05 22:00:06 -0700 |
commit | 20ca34287812a451b7921be4668816b01263a2e7 (patch) | |
tree | de2381108b914c0302c14b24e6cb38ee88e8456a /tools/preproc/string_parser.cpp | |
parent | 6c47f9de06c65074d8f0d8ce847ddc7addf6126f (diff) |
add support for .braille directive to preproc
Diffstat (limited to 'tools/preproc/string_parser.cpp')
-rw-r--r-- | tools/preproc/string_parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/preproc/string_parser.cpp b/tools/preproc/string_parser.cpp index b383f2f4f..dd5196a44 100644 --- a/tools/preproc/string_parser.cpp +++ b/tools/preproc/string_parser.cpp @@ -186,7 +186,7 @@ int StringParser::ParseString(long srcPos, unsigned char* dest, int& destLength) for (const char& c : sequence) { if (destLength == kMaxStringLength) - RaiseError("mapped string longer than %d bytes", destLength); + RaiseError("mapped string longer than %d bytes", kMaxStringLength); dest[destLength++] = c; } |