parser: display colored lines with error messages
authorJean Privat <jean@pryen.org>
Fri, 29 Apr 2011 21:40:52 +0000 (17:40 -0400)
committerJean Privat <jean@pryen.org>
Thu, 23 Jun 2011 16:29:40 +0000 (12:29 -0400)
commitf1d23fd977eace4b38a78bf9267c0e2278fce22a
tree7522bcba6b46fda1131c2eb389ae9c5b706509aa
parentcc41bd0a9a2dbbde1f738e559bcae27e6324ae6e
parser: display colored lines with error messages

Lines are located during the lexical analysis then printed on error.
A --no-color option is added to remove the line display.

Signed-off-by: Jean Privat <jean@pryen.org>
src/location.nit
src/mmloader.nit
src/parser/lexer.nit
src/parser/xss/lexer.xss
tests/sav/nitc.sav
tests/sav/nitdoc.sav
tests/tests.sh