better error messages are awesome!
[pspp] / src / libpspp / message.h
index 508604e60fb1f895ed1a83a24f1fb08725407964..0c31b8e309c24ef0ebb039977a469bf3b99cfeec 100644 (file)
@@ -81,13 +81,8 @@ struct msg_point
 struct msg_location
   {
     const char *file_name;      /* Interned file name, or NULL. */
+    struct lex_source *src;
     struct msg_point p[2];
-#if 0
-    int first_line;             /* 1-based line number, or 0 if none. */
-    int last_line;              /* 1-based exclusive last line (0=none). */
-    int first_column;           /* 1-based first column, or 0 if none. */
-    int last_column;            /* 1-based exclusive last column (0=none). */
-#endif
   };
 
 void msg_location_uninit (struct msg_location *);