svoid tok_identifierSemicolonAsFunctionCall(LS tok) { // "myFunction;" instead of "myFunction();" - quite rough // (isolated identifier as function call) var cond = new TokCondition { public bool get(L tok, int i) { S word = tok.get(i+3); //print("single word: " + word); ret !eqOneOf(word, "break", "continue", "return", "else", "endifdef", "endif"); } }; for (S pre : litlist("}", ";")) jreplace(tok, pre + " ;", "$1 $2();", cond); }