added macro for imports: 予观夫「列經」胜状,在「遍施」、「篩剔」、「左併」三湖。#458
Conversation
吾嘗觀「「列經」」之書。方悟「遍施」「篩剔」「左併」之義。 或云「「予观夫「甲」胜状,在「乙」、「丙」、「丁」三湖」」。 蓋謂「「吾嘗觀「甲」之書。方悟「乙」「丙」「丁」之義」。 予观夫「列經」胜状,在「遍施」、「篩剔」、「左併」三湖。
|
Follow the syntax in 予观夫巴陵胜状,在洞庭一湖. 岳阳楼记 (作者:范仲淹) |
|
Any idea why the build failed with: TypeError: Cannot read property 'length' of undefined ? |
|
Hi @kaiyuan01 , Thanks for the PR. However, a couple of things:
Thanks again for your understanding. |
|
Sorry I was on another computer which was not able to run gitpod due to network issues. This is more like an example to show how macro works (it can be more concise, or more verbose if we want to attract non-programmers :-) ) |
@LingDong- Thanks for the help. Was the second issue fixed? Just wondering what failed the current tests. |
|
|
I made the change as suggested. You may consider merging it once you fix Issue #2. |
|
Hi, sorry for the delay, the issue of inability to use macros for import statements has been fixed in my newest commit 55d2885. However there is one more problem with your code, that is, a macro cannot end with an identifier. If it ends with an identifier like I recommend that you change it to something like this: Also please drop the |
|
想法挺好 |
吾嘗觀「「列經」」之書。方悟「遍施」「篩剔」「左併」之義。
或云「「予观夫「甲」胜状,在「乙」、「丙」、「丁」三湖」」。
蓋謂「「吾嘗觀「甲」之書。方悟「乙」「丙」「丁」之義」。
予观夫「列經」胜状,在「遍施」、「篩剔」、「左併」三湖。