diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2010-04-11 01:03:20 +0400 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2010-04-11 12:58:09 +0400 |
commit | 6702d93c10c003cf9472d33a67185db0a5a8c593 (patch) | |
tree | 4df0db67a25835417493ab0de37cc4ed763c0bb3 /nasmlib.h | |
parent | c084467eba0fa81b04e9d413bf8ae27475cfce61 (diff) | |
download | nasm-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |