summaryrefslogtreecommitdiff
path: root/tools/preproc/string_parser.cpp
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-06-05 22:00:06 -0700
committerYamaArashi <shadow962@live.com>2016-06-05 22:00:06 -0700
commit20ca34287812a451b7921be4668816b01263a2e7 (patch)
treede2381108b914c0302c14b24e6cb38ee88e8456a /tools/preproc/string_parser.cpp
parent6c47f9de06c65074d8f0d8ce847ddc7addf6126f (diff)
add support for .braille directive to preproc
Diffstat (limited to 'tools/preproc/string_parser.cpp')
-rw-r--r--tools/preproc/string_parser.cpp2
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;
}