diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2012-04-16 23:10:28 +0200 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2012-04-16 23:10:28 +0200 |
| commit | 2fb235addd4893bab692504a69006eff083dc71f (patch) | |
| tree | 28039c5b5b16cfd3461c1eb4d8e8f4a6d1f61b0d /src/replace-table.h | |
| parent | 6f0b21b11f8711ef425069b277a1c743202174a7 (diff) | |
| download | cataract-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.h | 6 |
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 |
