add macro KissTarget
This commit is contained in:
@@ -39,6 +39,7 @@ enum KissTarget {
|
|||||||
JavaScript;
|
JavaScript;
|
||||||
NodeJS;
|
NodeJS;
|
||||||
Python;
|
Python;
|
||||||
|
Macro;
|
||||||
}
|
}
|
||||||
|
|
||||||
class Prelude {
|
class Prelude {
|
||||||
@@ -484,6 +485,8 @@ class Prelude {
|
|||||||
JavaScript;
|
JavaScript;
|
||||||
#elseif python
|
#elseif python
|
||||||
Python;
|
Python;
|
||||||
|
#elseif macro
|
||||||
|
Macro;
|
||||||
#else
|
#else
|
||||||
throw "Unsupported target language for Kiss";
|
throw "Unsupported target language for Kiss";
|
||||||
#end
|
#end
|
||||||
|
|||||||
Reference in New Issue
Block a user