Allow empty macro arguments, with a warning

Fixes #739
This commit is contained in:
Rangi
2021-02-17 18:54:02 -05:00
committed by Rangi
parent 63d15ac8c9
commit 1dafc1c762
11 changed files with 106 additions and 23 deletions

View File

@@ -13,3 +13,34 @@
\2: <2 + 2>
\3: <3>
'mac ':
'mac a,,':
\1: <a>
\2: <>
\3: <>
'mac ,,z':
\1: <>
\2: <>
\3: <z>
'mac a,,z':
\1: <a>
\2: <>
\3: <z>
'mac ,a,b,c,':
\1: <>
\2: <a>
\3: <b>
\4: <c>
\5: <>
'mac ,,x,,':
\1: <>
\2: <>
\3: <x>
\4: <>
\5: <>