Differences From
Artifact [cd83b5f5a6]:
1282 1282 kind = 'inline-rsrc';
1283 1283 rsrc = rsrc;
1284 1284 indent = nil;
1285 1285 depth = 0;
1286 1286 }
1287 1287 end
1288 1288 end};
1289 - {seq='&$', fn=blockwrap(function(s,c)
1290 - local id, args = s:match('^&$([^%s]+)%s?(.-)$')
1289 + {seq='$', fn=blockwrap(function(s,c)
1290 + local id, args = s:match('^%$([^%s]+)%s?(.-)$')
1291 1291 if id == nil or id == '' then
1292 1292 c:fail 'malformed macro block'
1293 1293 end
1294 1294 local argv = ss.str.split(c.doc.enc, args, c.doc.enc.encodeUCS'|', {esc=true})
1295 1295 return {
1296 1296 kind = 'macro';
1297 1297 macro = id;