You need to run JJTree on it to get a JavaCC grammar which is processed by JavaCC.
So basically jjtree SMARTSParser.jjt javacc SMARTSParser.jj On Sep 7, 2009, at 6:54 AM, Syed Asad Rahman wrote: > Hi, > > I am unable to compile SMARTSParser.jjt > > The get the following error > > javacc-5.0/bin/javacc SMARTSParser.jjt > > Java Compiler Compiler Version 5.0 (Parser Generator) > (type "javacc" with no arguments for help) > Reading from file SMARTSParser.jjt . . . > Warning: Line 7, Column 5: Bad option name "MULTI". Option setting > will be ignored. > Warning: Line 8, Column 5: Bad option name "VISITOR". Option > setting will be ignored. > Warning: Line 9, Column 5: Bad option name "NODE_DEFAULT_VOID". > Option setting will be ignored. > org.javacc.parser.ParseException: Encountered " "#" "# "" at line > 334, column 18. > Was expecting one of: > "throws" ... > ":" ... > Detected 1 errors and 3 warnings. > > > Maybe I am doing something wrong. > > Best wishes, > > Asad > > -- > > **************************************************************** > > Dr. Syed Asad Rahman (B.Engg, PhD) > Research Scientist > > EMBL-EBI Phone: +44-(0) 1223-49-2537 > Wellcome Trust Genome Campus Fax: +44-(0) 1223-49-4486 > Hinxton CB10 1SD E-mail: [email protected] > Cambridge, UK Home Page: www.ebi.ac.uk/~asad > > ***************************************************************** > > ---------------------------------------------------- Rajarshi Guha | NIH Chemical Genomics Center http://www.rguha.net | http://ncgc.nih.gov ---------------------------------------------------- "355/113 -- Not the famous irrational number PI, but an incredible simulation!" ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Cdk-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cdk-user

