Browse Source

Deleting output and temporary files generated by yacc

pull/66/head
Louis 10 years ago
parent
commit
7895acad0f
  1. 12
      patacrep/latex/syntax.py

12
patacrep/latex/syntax.py

@ -227,11 +227,15 @@ class Parser:
def tex2plain(string):
"""Parse string and return its plain text version."""
return detex(
yacc.yacc(module=Parser()).parse(
string,
lexer=SimpleLexer().lexer,
yacc.yacc(
write_tables=0,
debug=0,
module=Parser(),
).parse(
string,
lexer=SimpleLexer().lexer,
)
)
)
def parsesong(string, filename=None):
"""Parse song and return its metadata."""

Loading…
Cancel
Save