]> git.sur5r.net Git - cc65/blobdiff - src/cc65/reginfo.c
In case of parse errors for structs, don't just set the type of the result to
[cc65] / src / cc65 / reginfo.c
index a90da923152a5d98da7da79f51a0baf4a7c2ac27..00590e6f8b6838fbd6850a70dede21d8e010f960 100644 (file)
@@ -136,3 +136,15 @@ void FreeRegInfo (RegInfo* RI)
 
 
 
+void DumpRegInfo (const char* Desc, const RegInfo* RI)
+/* Dump the register info for debugging */
+{
+    fprintf (stdout, "%s:\n", Desc);
+    fprintf (stdout, "In:  ");
+    RC_Dump (stdout, &RI->In);
+    fprintf (stdout, "Out: ");
+    RC_Dump (stdout, &RI->Out);
+}
+
+
+