Better speculative local echo/editing. Also outputs debugging/timing info

This commit is contained in:
Keith Winstein
2011-12-14 03:56:28 -05:00
parent 048485f363
commit 09905fbd07
11 changed files with 556 additions and 400 deletions
-5
View File
@@ -39,11 +39,6 @@ std::list<Parser::Action *> Parser::Parser::input( wchar_t ch )
Parser::UTF8Parser::UTF8Parser()
: parser(), buf_len( 0 )
{
if ( strcmp( nl_langinfo( CODESET ), "UTF-8" ) != 0 ) {
fprintf( stderr, "stm requires a UTF-8 locale.\n" );
throw std::string( "stm requires a UTF-8 locale." );
}
assert( BUF_SIZE >= MB_CUR_MAX );
}