Encapsulated msg_location inside msg_emit
[pspp-builds.git] / src / language / expressions / helpers.c
index fd78e734abe0eefde8c2206af5a2149faaf8dba3..bddc71269f3c65b2fd070bb271667e0ff2e8b783 100644 (file)
@@ -13,11 +13,8 @@ expr_error (void *aux UNUSED, const char *format, ...)
   struct msg m;
   va_list args;
 
-  /* FIXME: we can do better about saying where the error
-     occurred. */
   m.category = MSG_SYNTAX;
   m.severity = MSG_ERROR;
-  msg_location (&m.where);
   va_start (args, format);
   m.text = xvasprintf (format, args);
   va_end (args);