testoutput.c
changeset 475 ea119c8ce5cd
parent 450 6a9faf398c1d
child 536 5af65fe6e917
--- a/testoutput.c	Wed Dec 10 03:47:19 2008 -0500
+++ b/testoutput.c	Wed Dec 10 03:48:38 2008 -0500
@@ -18,7 +18,7 @@
 
     pd = MOJOSHADER_parse(prof, buf, len, NULL, 0, NULL, NULL, NULL);
     if (pd->error != NULL)
-        printf("ERROR: %s\n", pd->error);
+        printf("ERROR: (position %d) %s\n", pd->error_position, pd->error);
     else
     {
         retval = 1;