title: Creating comments in Lex and Yacc
body: <p>How does one make a comment in Lex and Yacc?</p>
  
  <p>So far I haven't tried Yacc, but in Lex I have tried <code>/* comment */</code> and <code>// comment</code>, but neither of these compile. I am on a Mac, using the builtin Lex and Yacc compilers, (or maybe the X-Code ones, I don't know). What is the correct syntax for comments in Lex or Yacc, or preferably both?</p>