assemble.c
changeset 486 45efac751027
parent 474 c2d4e63efdd1
child 524 03eea2f0762c
--- a/assemble.c	Wed Dec 10 03:55:06 2008 -0500
+++ b/assemble.c	Wed Dec 10 04:14:50 2008 -0500
@@ -25,7 +25,7 @@
 
     pd = MOJOSHADER_assemble(buf, NULL, NULL, NULL);
     if (pd->error != NULL)
-        printf("ERROR: %s\n", pd->error);
+        printf("ERROR: (line %d) %s\n", pd->error_position, pd->error);
     else
     {
         if (pd->output != NULL)