X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Fmessage.h;h=7c59847f4aac760e2d7ad32abee7da3f97d5f080;hb=81579d9e9f994fb2908f50af41c3eb033d216e58;hp=6cdf6e87c3732d19cd34679ce7f6afab7f31fe18;hpb=638a86001fe7a237bd6c19a181d796305290d72a;p=pspp-builds.git diff --git a/src/libpspp/message.h b/src/libpspp/message.h index 6cdf6e87..7c59847f 100644 --- a/src/libpspp/message.h +++ b/src/libpspp/message.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 1997-9, 2000, 2006, 2010 Free Software Foundation, Inc. + Copyright (C) 1997-9, 2000, 2006, 2010, 2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -19,7 +19,7 @@ #include #include -#include +#include "libpspp/compiler.h" /* What kind of message is this? */ enum msg_category @@ -72,6 +72,8 @@ struct msg_locator { char *file_name; /* File name (NULL if none). */ int line_number; /* Line number (0 if none). */ + int first_column; /* 1-based column number (0 if none). */ + int last_column; /* 1-based exclusive last column (0 if none). */ }; /* A message. */ @@ -115,7 +117,7 @@ void msg_ui_disable_warnings (bool); /* Used in panic situations only. */ -void request_bug_report_and_abort (const char *msg) NO_RETURN; +void request_bug_report (const char *msg); #endif /* message.h */