summaryrefslogtreecommitdiff
path: root/src/replace-table.h
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2012-04-16 23:10:28 +0200
committerTomas Bzatek <tbzatek@users.sourceforge.net>2012-04-16 23:10:28 +0200
commit2fb235addd4893bab692504a69006eff083dc71f (patch)
tree28039c5b5b16cfd3461c1eb4d8e8f4a6d1f61b0d /src/replace-table.h
parent6f0b21b11f8711ef425069b277a1c743202174a7 (diff)
downloadcataract-2fb235addd4893bab692504a69006eff083dc71f.tar.xz
block-parser: Allow indented token arguments
Some of us like to have indented arguments from a function name.
Diffstat (limited to 'src/replace-table.h')
-rw-r--r--src/replace-table.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/replace-table.h b/src/replace-table.h
index 0d81c92..81365cc 100644
--- a/src/replace-table.h
+++ b/src/replace-table.h
@@ -94,6 +94,12 @@ gchar * get_next_token (const gchar *s, gchar **start, gchar **end, gboolean *ta
*/
gchar * extract_token_arg (const gchar *str);
+/*
+ * token_has_prefix: returns TRUE if 'prefix' matches the token syntax (i.e. "prefix (") with unlimited number of spaces before the opening bracket
+ *
+ */
+gboolean token_has_prefix (const gchar *token, const gchar *prefix);
+
G_END_DECLS