Migrate functions like parser_keywords_is_block to wcstring

This commit is contained in:
ridiculousfish
2012-01-30 09:46:33 -08:00
parent f988dcd6f9
commit 8e4e30d266
6 changed files with 42 additions and 20 deletions

View File

@@ -646,7 +646,7 @@ void tokenize( const wchar_t * const buff, int * const color, const int pos, arr
int mark = tok_get_pos( &tok );
color[ tok_get_pos( &tok ) ] = HIGHLIGHT_COMMAND;
if( parser_keywords_is_subcommand( cmd.c_str() ) )
if( parser_keywords_is_subcommand( cmd ) )
{
int sw;
@@ -668,7 +668,7 @@ void tokenize( const wchar_t * const buff, int * const color, const int pos, arr
sw = parser_keywords_is_switch( tok_last( &tok ) );
if( !parser_keywords_is_block( cmd.c_str() ) &&
if( !parser_keywords_is_block( cmd ) &&
sw == ARG_SWITCH )
{
/*