We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 297bdb0 commit 809a92dCopy full SHA for 809a92d
examples/test.nys
@@ -1,2 +1,5 @@
1
-use audio;
2
-audio();
+func(count(number)) {
+ dec int number = number+1;
3
+ log(number);
4
+}
5
+count(0);
src/run.rs
@@ -494,6 +494,10 @@ pub fn run(
494
let mut pass_vec: Vec<String> = Vec::new();
495
pass_vec.push("a".to_string());
496
pass_vec.push("(".to_string());
497
+ if contents[x+1] == "int" {
498
+ pass_vec.push("math".to_string());
499
+ pass_vec.push("(".to_string());
500
+ }
501
loop {
502
if contents[position] == "\n" || contents[position] == ";" {
503
break;
0 commit comments