mirror of
https://github.com/Ed94/gencpp.git
synced 2025-06-15 03:01:47 -07:00
Fixes for compiling with clang
Clang just had better errors and caught stuff msvc did not.
This commit is contained in:
@ -281,22 +281,22 @@ struct String
|
||||
switch ( c )
|
||||
{
|
||||
case ' ':
|
||||
result.append('·');
|
||||
result.append( txt("·") );
|
||||
break;
|
||||
case '\t':
|
||||
result.append('→');
|
||||
result.append( txt("→") );
|
||||
break;
|
||||
case '\n':
|
||||
result.append('↵');
|
||||
result.append( txt("↵") );
|
||||
break;
|
||||
case '\r':
|
||||
result.append('⏎');
|
||||
result.append( txt("⏎") );
|
||||
break;
|
||||
case '\v':
|
||||
result.append('⇕');
|
||||
result.append( txt("⇕") );
|
||||
break;
|
||||
case '\f':
|
||||
result.append('⌂');
|
||||
result.append( txt("⌂") );
|
||||
break;
|
||||
default:
|
||||
result.append(c);
|
||||
|
Reference in New Issue
Block a user