cherepanovic / foma

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

If replacement falsely has no blanks between chars, no syntax error but words become unknown #25

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Erroneous rule looks:
define HarmRuleszelol §szelol§ -> o l // .#. \"^"* BackVowel \Vowel* [ s | z 
] "^"  _ ,,
                  §szelol§ -> e l // .#. \"^"* FrontVowel \Vowel* [ s | z ] "^" _ ,,
                  §szelol§ -> sz // .#. \"^"* "^" [ \"^"* "^"]* _ ;

The error is the last line, should be §szelol§ -> s z // ...

There is no error message whatever at compilation time.
This erroneous rule causes, that all words containing sz will become unknown.

An error message at compilation time would help a lot for the user to find out, 
what is the problem.

Original issue reported on code.google.com by eleonor...@gmx.net on 24 Feb 2012 at 4:09

Attachments: