mojoshader_lexer.c
changeset 697 765a85a989a2
parent 691 47efe0f000ab
child 799 38370fa657fb
--- a/mojoshader_lexer.c	Tue Feb 24 01:53:24 2009 -0500
+++ b/mojoshader_lexer.c	Tue Feb 24 02:04:05 2009 -0500
@@ -1245,7 +1245,11 @@
 		}
 	}
 yy206:
-	{ cursor=(const uchar*)s->source; goto scanner_loop; }
+	{
+                            token = cursor = (const uchar *) s->source;
+                            limit = cursor + s->bytes_left;
+                            goto scanner_loop;
+                        }
 yy207:
 	++YYCURSOR;
 	yych = *YYCURSOR;