mhulden / foma

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

error report very terse, if ,o, instead of .o. in foma file #36

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. in Foma file there is:
define Grammarfnige Lexiconfnige           .o. 
               Etoee             .o. 
               Atoaa             .o. 
               Changez2          ,o,     <---- here ,o, instead of .o.
...
               Cleanup             .o.
               ToUpCase;
Compiler says: 
defined Lexiconfnige: 376.0 kB. 12797 states, 23924 arcs, 2520580612 paths.
2299.34-2299.34: error: ***syntax error at ','.
">>> read in enhufnnum <<<"        
No indication in which file or in which line is the error.            

What is the expected output? What do you see instead?
Compiler should say:
Error in file enhu2.foma
line 2277: , instead of .

What version of the product are you using? On what operating system?
Foma, version 0.9.16alpha
debian linux

Please provide any additional information below.

Original issue reported on code.google.com by eleonor...@gmx.net on 24 Aug 2012 at 11:13