summaryrefslogtreecommitdiff
path: root/nasmlib.h
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2010-04-11 01:03:20 +0400
committerCyrill Gorcunov <gorcunov@gmail.com>2010-04-11 12:58:09 +0400
commit6702d93c10c003cf9472d33a67185db0a5a8c593 (patch)
tree4df0db67a25835417493ab0de37cc4ed763c0bb3 /nasmlib.h
parentc084467eba0fa81b04e9d413bf8ae27475cfce61 (diff)
downloadnasm-6702d93c10c003cf9472d33a67185db0a5a8c593.tar.gz
nasm-6702d93c10c003cf9472d33a67185db0a5a8c593.tar.bz2
nasm-6702d93c10c003cf9472d33a67185db0a5a8c593.zip
nasmlib.c: Introduce nasm_get_word helper
For easier space separated words extraction from a text stream. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'nasmlib.h')
-rw-r--r--nasmlib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nasmlib.h b/nasmlib.h
index f103e62..5efb0b4 100644
--- a/nasmlib.h
+++ b/nasmlib.h
@@ -394,6 +394,7 @@ char *nasm_skip_word(const char *p);
char *nasm_zap_spaces_fwd(char *p);
char *nasm_zap_spaces_rev(char *p);
char *nasm_trim_spaces(char *p);
+char *nasm_get_word(char *p, char **tail);
char *nasm_opt_val(char *p, char **opt, char **val);
const char *prefix_name(int);