StringReader r = new StringReader(s);
log("Realizando análisis sintáctico...");
//InputStream is = new FileInputStream("/home/sgm/ejemplo.yml");
lexLog = new LexLog(log, s);
lexLog.setOnlyErrors(onlyErrors);
parser p = new parser(new LexAnalyzer(r, lexLog), lexLog);
Symbol simbol = p.parse();
//System.out.println(simbol);
log("Análisis sintáctico finalizado (" + lexLog.getErrorCount() + " errores).");
} catch (IOException ex) {
log("Error durante el análisis léxico \n"+ex);
} catch (Exception e) {