nondescript/tests/scanner.nds

30 lines
442 B
Plaintext

// nice comments
/*
a multiline comment
/*
with nested multiline comments
/*/
this doesn't break it
*/
*/
*/
// some utf8 letters in idents
var áéíóú = 5;
print (áéíóú);
//expect:5.0
{ @å
print ("before");
{
:å = "result";
break @å;
// this nesting is needed because breaks detect code after them and error
};
print ("after");
} :: print;
//expect:before
//expect:result