Make parser_is_block public

darcs-hash:20060329212942-ac50b-ad8334532a719152766b4b530474616b78564f24.gz
This commit is contained in:
axel 2006-03-30 07:29:42 +10:00
parent dc91d7aec4
commit 6748b9699f
2 changed files with 7 additions and 5 deletions

View file

@ -463,11 +463,7 @@ int parser_is_subcommand( const wchar_t *cmd )
(void *)0 );
}
/**
Test if the specified string is command that opens a new block
*/
static int parser_is_block( const wchar_t *word)
int parser_is_block( const wchar_t *word)
{
return contains_str( word,
L"for",

View file

@ -259,6 +259,12 @@ int parser_is_subcommand( const wchar_t *cmd );
*/
int parser_is_reserved( const wchar_t *word );
/**
Test if the specified string is command that opens a new block
*/
int parser_is_block( const wchar_t *word);
/**
Returns a string describing the current parser pisition in the format 'FILENAME (line LINE_NUMBER): LINE'.
Example: