Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Compiler Tools JavaCC > Problem with ge...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 487 of 549
Post > Topic >>

Problem with generated code

by Christian Frank <usenet@[EMAIL PROTECTED] > Nov 27, 2007 at 01:07 AM

Hi,

I am using javacc for a seminar at the university. The generated parser 
  is supposed to parse a simplified java-near language. So after coding 
the jj-file it generates the parser error-free, but when I try to 
compile the generated code with javac I get 90(!) "cannot resolve 
symbol"-errors.
For example:

p4.java:304: cannot resolve symbol
symbol  : class SimpleCharStream
location: class p4_p.p4
     jj_input_stream = new SimpleCharStream(stream, 1, 1);
                           ^

I searched the web for this message and found that a 
package-naming-error may be the problem, but in every file the package 
is set properly, so that is not the problem.
Thanks in advance for help.

Regards
Christian
 




 2 Posts in Topic:
Problem with generated code
Christian Frank <usene  2007-11-27 01:07:47 
Re: Problem with generated code
Christian Frank <usene  2007-11-27 17:06:18 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 1:50:26 CDT 2008.