glcpp: Recognize plain "//" as a comment.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 21 Jun 2010 22:11:01 +0000 (15:11 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 23 Jun 2010 21:14:57 +0000 (14:14 -0700)
commite6ae7afc0cf41922fdbdd45b7a433cc450424c87
tree715b4983eefccc0d02ff1acfaa58a601e72912c7
parentfa455fc2a529d26a0e03b9ff837a554c511cee71
glcpp: Recognize plain "//" as a comment.

Found in glsl-orangebook-ch06-bump.(frag|vert).  This was resulting in
the comments getting passed through to the main compiler's lexer.
glcpp/glcpp-lex.l