gnumeric r16890 - in trunk: . src



Author: mortenw
Date: Fri Oct 17 15:48:18 2008
New Revision: 16890
URL: http://svn.gnome.org/viewvc/gnumeric?rev=16890&view=rev

Log:
2008-10-17  Morten Welinder  <terra gnome org>

	* src/parser.y (workbook names): Fix cut-and-paste problem in
	error reporting, see #552750, comments 8-9.



Modified:
   trunk/ChangeLog
   trunk/NEWS
   trunk/src/parser.y

Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS	(original)
+++ trunk/NEWS	Fri Oct 17 15:48:18 2008
@@ -60,6 +60,7 @@
 	* Fix XIRR problem with missing data.  [#554732]
 	* Switch to LINGUAS file.  [#554348]
 	* Fix problems with saving undefined names.  [#554325]
+	* Fix parser crash.  [Part of #552750]
 
 Nakai:
 	* Enable Perl plugin again. [#553939]

Modified: trunk/src/parser.y
==============================================================================
--- trunk/src/parser.y	(original)
+++ trunk/src/parser.y	Fri Oct 17 15:48:18 2008
@@ -667,8 +667,8 @@
 			$$ = register_expr_allocation (gnm_expr_new_name (nexpr, NULL, $1));
 		} else {
 			report_err (state, g_error_new (1, PERR_UNKNOWN_NAME,
-				_("Name '%s' does not exist in sheet '%s'"),
-						name, pos.sheet->name_quoted),
+				_("Name '%s' does not exist in workbook"),
+							name),
 				state->ptr, strlen (name));
 			YYERROR;
 		}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]