summaryrefslogtreecommitdiff
path: root/quote.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-06-01 17:23:51 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-06-01 17:23:51 -0700
commit8cad14bbcf0b8c056e6f81dccf4af38537e0bac6 (patch)
tree454627762c5d12027c8877c7cdde360673cca0d0 /quote.h
parent7f2f8b35e6b8ea67fe620f3363b5eaa06f55a222 (diff)
downloadnasm-8cad14bbcf0b8c056e6f81dccf4af38537e0bac6.tar.gz
nasm-8cad14bbcf0b8c056e6f81dccf4af38537e0bac6.tar.bz2
nasm-8cad14bbcf0b8c056e6f81dccf4af38537e0bac6.zip
qstring: first cut at full quoted string support in the preprocessor
First attempt at properly handle quoted strings in the preprocessor. This also adds range support in %substr. No support in the assembler yet.
Diffstat (limited to 'quote.h')
-rw-r--r--quote.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/quote.h b/quote.h
new file mode 100644
index 0000000..501f735
--- /dev/null
+++ b/quote.h
@@ -0,0 +1,11 @@
+#ifndef NASM_QUOTE_H
+#define NASM_QUOTE_H
+
+#include "compiler.h"
+
+char *nasm_quote(char *str, size_t len);
+size_t nasm_unquote(char *str);
+char *nasm_skip_string(char *str);
+
+#endif /* NASM_QUOTE_H */
+