Comment lines currently break the parser. This snippet for example
-----------------------------------------------------------------
-- Detail Output Record
-----------------------------------------------------------------
will give an error like this:
Exception in thread "main" line 8:65: unexpected char: '-'
at com.beanit.jasn1.compiler.parser.ASNLexer.nextToken(ASNLexer.java:342)
at antlr.TokenBuffer.fill(TokenBuffer.java:69)
at antlr.TokenBuffer.LA(TokenBuffer.java:80)
at antlr.LLkParser.LA(LLkParser.java:52)
at com.beanit.jasn1.compiler.parser.ASNParser.module_body(ASNParser.java:279)
at com.beanit.jasn1.compiler.parser.ASNParser.module_definition(ASNParser.java:187)
at com.beanit.jasn1.compiler.parser.ASNParser.module_definitions(ASNParser.java:63)
at com.beanit.jasn1.compiler.Compiler.getJavaModelFromAsn1File(Compiler.java:182)
at com.beanit.jasn1.compiler.Compiler.main(Compiler.java:122)
Comment lines currently break the parser. This snippet for example
will give an error like this:
at line 1 and 3.