cherepanovic / foma

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

If forgotten ,, or .o. in a rule, compiler crashes instead of saying, there is an error. #24

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. if at a  rule ,, or .o. forgotten like:
define HarmRuleIgejatokitek §igejatokitek§ -> i t e k // .#. \"^"* FrontVowel 
\Vowel* "^" ?* _   <---- here forgotten ,,
                     §igejatokitek§ -> s á t o k // .#. \"^"* BackVowel  s  "^" ?* _   ,, 
...

then compiler crashes:
defined HarmRuleIgeija: 14.0 kB. 14 states, 818 arcs, Cyclic.
*** glibc detected *** foma: double free or corruption (!prev): 0x097eac70 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0x4ebff1]

It would be nicer, if compiler saw the syntax error, and gave a warning or 
error message.

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

Attachments: