gwitwer / foma

Automatically exported from code.google.com/p/foma
0 stars 0 forks source link

error line reported is #19

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. In line 4412 of a lexc file there is an erroneous line:
bős-nagymarosi AddNoun;;  
(There are accidentally 2 ;;-s at the end, column 24)
2. Foma reports:
***Syntax error on line 4403 column 26 at ';'
which is 9 lines away from the actual error

What is the expected output? What do you see instead?
It would be nicer, if foma reported:
***Syntax error on line 4412 column 24 at ';'

Complete test environment attached.

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by eleonor...@gmx.net on 1 Feb 2012 at 1:04

Attachments:

GoogleCodeExporter commented 8 years ago
The title is : Error line and column reported are incorrect in lexc file

Original comment by eleonor...@gmx.net on 1 Feb 2012 at 1:04

GoogleCodeExporter commented 8 years ago
This can not be seen with little test files, for example the English morphology 
in the tutorial.

Original comment by eleonor...@gmx.net on 1 Feb 2012 at 1:12