]> git.sur5r.net Git - cc65/blobdiff - src/ca65/error.h
Removed (pretty inconsistently used) tab chars from source code base.
[cc65] / src / ca65 / error.h
index 4a74aa91a3f71e48e488789c2fa51d5d1d71241c..d86e68c42fb7ce6642fcb3db4e1dae09c6446b8a 100644 (file)
@@ -1,8 +1,8 @@
 /*****************************************************************************/
 /*                                                                           */
-/*                                 error.h                                  */
+/*                                  error.h                                  */
 /*                                                                           */
-/*               Error handling for the ca65 macroassembler                 */
+/*                Error handling for the ca65 macroassembler                 */
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
@@ -46,7 +46,7 @@
 
 
 /*****************************************************************************/
-/*                                  Data                                    */
+/*                                   Data                                    */
 /*****************************************************************************/
 
 
@@ -61,7 +61,7 @@ extern unsigned WarningCount;
 
 
 /*****************************************************************************/
-/*                                  Code                                    */
+/*                                   Code                                    */
 /*****************************************************************************/
 
 
@@ -78,6 +78,9 @@ void LIWarning (const Collection* LineInfos, unsigned Level, const char* Format,
 void Error (const char* Format, ...) attribute ((format (printf, 1, 2)));
 /* Print an error message */
 
+void PError (const FilePos* Pos, const char* Format, ...) attribute ((format (printf, 2, 3)));
+/* Print an error message giving an explicit file and position. */
+
 void LIError (const Collection* LineInfos, const char* Format, ...) attribute ((format (printf, 2, 3)));
 /* Print an error message using the given line infos. */