parser.localCnt = localcnt;
try {
result = parser.parse().value;
}catch(Exception e){
int line = 0;
for (int i = 0; i < lexer.linenumber(); i++){
int tryhere = s.indexOf("\n", line);
if(tryhere >0) line = tryhere;
}
s = s.replaceAll("[\n]", " ");
s = s.replaceAll("[\r]", " ");