title: bison how to get the token value (not semantic value)
body: <p>Is possible recover the value of a token?</p>
  
  <p>I have a rule that is similar to:</p>
  
  <pre><code>unaryOperation:
        NOT       { $$ = new UnaryOP(NOT); }
      | PLUS      { $$ = new UnaryOP(PLUS); }
      | MINUS     { $$ = new UnaryOP(MINUS); }
      ;
  </code></pre>
  
  <p>NOT, PLUS and MINUS are tokens and I am using the generated definition in my program too. Is possible recover this data and not repeat myself in the same line?</p>
  
  <p>I'm not interested in the semantic value, so it is not correct for my write this:</p>
  
  <pre><code>unaryOperation:
        NOT       { $$ = new UnaryOP($1); }
      | PLUS      { $$ = new UnaryOP($1); }
      | MINUS     { $$ = new UnaryOP($1); }
      ;
  </code></pre>
  
  <p>Thank you</p>