Hash :
278316ca
Author :
Date :
2020-07-06T15:01:10
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
%let a=%bquote(' ");
%let b=%nrbquote(' ");
%let c=%nrquote(%' %");
%let d=%nrstr(%' %");
%let e=%quote(%' %");
%let f=%str(%' %");
%let char1 = %bquote(%substr(&infile,1,1));
----------------------------------------------------
[
["macro-keyword", "%let"],
" a",
["operator", "="],
["macro-string-functions", [
["function", "%bquote"],
["punctuation", "("],
"' \"",
["punctuation", ")"]
]],
["punctuation", ";"],
["macro-keyword", "%let"],
" b",
["operator", "="],
["macro-string-functions", [
["function", "%nrbquote"],
["punctuation", "("],
"' \"",
["punctuation", ")"]
]],
["punctuation", ";"],
["macro-keyword", "%let"],
" c",
["operator", "="],
["macro-string-functions", [
["function", "%nrquote"],
["punctuation", "("],
["escaped-char", "%'"],
["escaped-char", "%\""],
["punctuation", ")"]
]],
["punctuation", ";"],
["macro-keyword", "%let"],
" d",
["operator", "="],
["macro-string-functions", [
["function", "%nrstr"],
["punctuation", "("],
["escaped-char", "%'"],
["escaped-char", "%\""],
["punctuation", ")"]
]],
["punctuation", ";"],
["macro-keyword", "%let"],
" e",
["operator", "="],
["macro-string-functions", [
["function", "%quote"],
["punctuation", "("],
["escaped-char", "%'"],
["escaped-char", "%\""],
["punctuation", ")"]
]],
["punctuation", ";"],
["macro-keyword", "%let"],
" f",
["operator", "="],
["macro-string-functions", [
["function", "%str"],
["punctuation", "("],
["escaped-char", "%'"],
["escaped-char", "%\""],
["punctuation", ")"]
]],
["punctuation", ";"],
["macro-keyword", "%let"],
" char1 ",
["operator", "="],
["function", "%bquote"],
["punctuation", "("],
["macro-keyword", "%substr"],
["punctuation", "("],
["macro-variable", "&infile"],
["punctuation", ","],
["number", "1"],
["punctuation", ","],
["number", "1"],
["punctuation", ")"],
["punctuation", ")"],
["punctuation", ";"]
]
----------------------------------------------------
Checks for all macro string functions.