aboutsummaryrefslogtreecommitdiffhomepage
path: root/parser.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-03-30 07:29:42 +1000
committerGravatar axel <axel@liljencrantz.se>2006-03-30 07:29:42 +1000
commit6748b9699f049adc022efab7799c8b7640c6035b (patch)
treeeebe80694ef5163838d90005f1f926800833617b /parser.h
parentdc91d7aec40e0d02d60d6131f5d93a72d5c5bdbb (diff)
Make parser_is_block public
darcs-hash:20060329212942-ac50b-ad8334532a719152766b4b530474616b78564f24.gz
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/parser.h b/parser.h
index 3542b8f0..028788d0 100644
--- a/parser.h
+++ b/parser.h
@@ -260,6 +260,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: