title: jflex / cup - error: cannot find symbol { return symbol(sym.EQEQ);
body: <p>I'm trying to run the example on:
  <a href="http://jflex.de/manual.html#Example" rel="nofollow noreferrer">http://jflex.de/manual.html#Example</a>
  I've copied the example and only changed the file/class name.</p>
  
  <p>Running jflex seems to work fine.</p>
  
  <pre><code>$ jflex -v -d output/ grammer/scanner.flex 
  Reading "grammer/scanner.flex"
  Constructing NFA : 148 states in NFA
  Converting NFA to DFA : 
  .........................................
  45 states before minimization, 26 states in minimized DFA
  </code></pre>
  
  <p>As a next step I try to compile the output. No matter what I do, I get these errors. </p>
  
  <pre><code>$ javac -cp .*:dependancies/java-cup-11b.jar output/scanner.java 
  output/scanner.java:788: error: cannot find symbol
              { return symbol(sym.IDENTIFIER);
                                 ^
    symbol:   variable IDENTIFIER
    location: interface sym
  output/scanner.java:793: error: cannot find symbol
              { return symbol(sym.INTEGER_LITERAL);
                                 ^
    symbol:   variable INTEGER_LITERAL
    location: interface sym
  output/scanner.java:803: error: cannot find symbol
              { return symbol(sym.EQ);
                                 ^
    symbol:   variable EQ
    location: interface sym
  output/scanner.java:808: error: cannot find symbol
              { return symbol(sym.PLUS);
                                 ^
    symbol:   variable PLUS
    location: interface sym
  output/scanner.java:819: error: cannot find symbol
                                     return symbol(sym.STRING_LITERAL,
                                                      ^
    symbol:   variable STRING_LITERAL
    location: interface sym
  output/scanner.java:830: error: cannot find symbol
              { return symbol(sym.EQEQ);
                                 ^
    symbol:   variable EQEQ
    location: interface sym
  6 errors
  </code></pre>
  
  <p>I'm I forgetting something? </p>
  
  <p><a href="http://czt.sourceforge.net/dev/java-cup-runtime/apidocs/java_cup/runtime/Symbol.html" rel="nofollow noreferrer">http://czt.sourceforge.net/dev/java-cup-runtime/apidocs/java_cup/runtime/Symbol.html</a></p>