Warning: session_start(): open(/var/lib/php/sessions/sess_3hfrcef6q1lis4bb0keolo2tdu, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
// It's rough but should work if you don't make anonymous classes inside the statement or something... // Also won't work with "for" // Return value is index of semicolon/curly brace+1 static int findEndOfStatement(L tok, int i) { int j = i; // Is it a block? if (eq(get(tok, i), "{")) ret findEndOfBlock(tok, i)+1; // It's a regular statement. while (j < l(tok) && neq(tok.get(j), ";")) if (eq(get(tok, j), "{")) j = findEndOfBlock(tok, j)+1; else j += 2; ret j+1; }