Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In lexicon missing ";" (closing of a rule) is not recognized and not reported #37

Open
GoogleCodeExporter opened this issue Mar 3, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.
LEXICON Ninf

+Noun+Sg:0   #;
+Noun+Det:det   #;
+Noun+Det:acc   #;
+Noun+Pl:^s  CaseN;

2.
We loose closing of case Det:
LEXICON Ninf

+Noun+Sg:0   #;
+Noun+Det:det   
+Noun+Det:acc   #;
+Noun+Pl:^s  CaseN;

3.

What is the expected output? 

Compiler should report an error

What do you see instead?
defined Cleanup: 268 bytes. 1 state, 2 arcs, Cyclic.
Root...3, Noun...7, Verb...6, Misc...1, Ninf...3, CaseN...1, Vinf...5, Nmisc...1
Building lexicon...
Determinizing...
Minimizing...
Done!
1.9 kB. 57 states, 75 arcs, 52 paths.
defined Lexicon: 1.9 kB. 57 states, 75 arcs, 52 paths.
defined Grammar: 2.4 kB. 72 states, 102 arcs, 52 paths.
defined Grammarup: 3.0 kB. 72 states, 102 arcs, 52 paths.
3.1 kB. 72 states, 110 arcs, 101 paths.
Foma, version 0.9.16alpha


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

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 6 Sep 2012 at 3:05

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant