Use yy_scan_string and stop caring about shader->SourceLen.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 21 Jun 2010 18:43:42 +0000 (11:43 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 21 Jun 2010 19:41:05 +0000 (12:41 -0700)
commit4a2bbdacfc29460de09e5f806fcc96040ad17dc4
tree9cdada229c0a4770457703740010a251a4d4ae76
parent26e761edb26322eab497e884fcf7ae35fb3fd3e5
Use yy_scan_string and stop caring about shader->SourceLen.

We had to call strlen on the preprocessed source, which seemed a bit
pointless; also, we updated shader->SourceLen but not shader->Source,
which was even more confusing.  Just leave both untouched.
glcpp/pp.c
glsl_lexer.lpp
glsl_parser_extras.h
main.cpp