AntlrJavaParser has evil analyse_text method

Issue #408 resolved
Stepan Koltsov
created an issue

{{{
def analyse_text(text):
return 0.5 # Antlr is Java if not specified
}}}

so it fires for all unknown texts, for example

{{{
guess_lexer("111")
}}}

returns !AntlrJavaLexer

Comments (4)

  1. Log in to comment