File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ trace('${a.a}: ${a.b() + " " + a.c}'); // RuleScript: Hello World
6262
6363### Abstracts in script
6464
65- RuleScriptAbstracts.txt in any classpath :
65+ ` RuleScriptAbstracts.txt ` in any classpath :
6666```
6767test.HelloWorldAbstract
6868```
@@ -82,7 +82,7 @@ import test.HelloWorldAbstract;
8282
8383trace(HelloWorldAbstract.rulescriptPrint()); // 'Hello World'
8484```
85- More templates in ` test/src/Main.hx ` .
85+ More templates in [ ` test/src/Main.hx ` ] ( https://github.com/Kriptel/RuleScript/blob/master/test/src/Main.hx ) .
8686
8787# Limitations
8888
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ using StringTools;
1010
1111class Converter
1212{
13+ #if macro
1314 // Language server shows errors...
1415 public static function init ()
1516 {
@@ -28,6 +29,7 @@ class Converter
2829 for (name in abstractsList )
2930 Compiler .addMetadata (' @:build(rulescript.macro.AbstractMacro.buildAbstract(" $name ","rulescript.__abstracts"))' , name );
3031 }
32+ #end
3133
3234 static function parseFile (content : String ): Array <String >
3335 {
You can’t perform that action at this time.
0 commit comments