dcsimg
lexical nondeterminism
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Thomas_Krebs
Posted On:   Thursday, September 5, 2002 08:18 AM

I have a problem with a lexical nondeterminism which I don't understand. see the following lexer definition: class MyLexer extends Lexer; options { k = 10; } PACKAGE_GROUP_IDENTIFIER : ""DISCRETE_AXIAL"" | ""DISCRETE_CHIP"" | ""DISCRETE_OTHER"" | ""DISCRETE_RADIAL"" | ""IC_BARE_DIE"" | ""IC_BGA"" | ""IC_DIP"" | ""IC_FLIP_CHIP"" | ""IC_LCC"" | ""IC_PLCC"" | ""IC_OTHER"" | ""IC_PGA"" | ""IC_SIP"" | &qu   More>>

I have a problem with a lexical nondeterminism which I don't understand.


see the following lexer definition:



class MyLexer extends Lexer;



options {
k = 10;
}



PACKAGE_GROUP_IDENTIFIER : ""DISCRETE_AXIAL"" | ""DISCRETE_CHIP"" | ""DISCRETE_OTHER"" | ""DISCRETE_RADIAL"" | ""IC_BARE_DIE"" | ""IC_BGA"" | ""IC_DIP"" | ""IC_FLIP_CHIP"" | ""IC_LCC"" | ""IC_PLCC"" | ""IC_OTHER"" | ""IC_PGA"" | ""IC_SIP"" | ""IC_SOIC"" | ""CONNECTOR"" | ""EDGE_CONNECTOR"" | ""JUMPER"" | ""TEST_POINT"" | ""BU"" | ""GENERAL"";



TEXT_TYPE_IDENTIFIER : ""REF_DES"" | ""PARTNO"" | ""PINNO"" | ""CELL_NAME"" | ""USER_TYPE"";



can somebody help?

Thomas    <<Less

Re: lexical nondeterminism

Posted By:   Terence_Parr  
Posted On:   Monday, September 9, 2002 10:03 PM

Can you specify the error for us?

Thanks,

Terence
About | Sitemap | Contact