Bug#346033: antlr: TokenStreamException should print line number

Ryan Nowakowski tubaman at fattuba.com
Wed Jan 4 23:49:03 UTC 2006


Package: antlr
Version: 2.7.5-8
Severity: normal


A TokenStreamException should print a line number where the errors
occurs:

ryan at pineapple:~/workspace/http_header_inject$ java antlr.Tool HttpLexer.g
ANTLR Parser Generator   Version 2.7.5 (20050817)   1989-2005 jGuru.com
TokenStreamException: expecting ''', found '9'

There's been some discussion around this already.
http://www.antlr.org:8080/pipermail/antlr-interest/2003-March/003340.html

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages antlr depends on:
ii  sun-j2sdk1.4 [java-virtua 1.4.2+07       Java(TM) 2 SDK, Standard Edition, 
ii  sun-j2sdk1.5 [java-virtua 1.5.0+update04 Java(TM) 2 SDK, Standard Edition, 

antlr recommends no packages.

-- no debconf information




More information about the pkg-java-maintainers mailing list