14-str-builtin.M1pp (345B)
1 # %str stringification builtin. 2 # - %str(IDENT) wraps the identifier text in double quotes 3 # - result is a TOK_STRING, byte-identical to a hand-written literal 4 5 %macro quoteit(name) 6 %str(name) 7 %endm 8 9 %quoteit(hello) 10 %quoteit(foo_bar) 11 %quoteit(a) 12 13 # Control: hand-written literals must match the macro-generated form. 14 "hello" 15 "foo_bar" 16 "a" 17 END