Commit 4c28829d authored by Maurits Rijk's avatar Maurits Rijk Committed by Maurits Rijk
Browse files

make buffer large enough to hold all polygon data.

2005-07-25  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_csim.y: make buffer large enough to hold
	all polygon data.

	* plug-ins/imagemap/imap_csim_parse.[ch]: regenerated. Fixes #169698
parent c1c876a9
2005-07-25 Maurits Rijk <m.rijk@chello.nl>
* plug-ins/imagemap/imap_csim.y: make buffer large enough to hold
all polygon data.
* plug-ins/imagemap/imap_csim_parse.[ch]: regenerated. Fixes #169698
2005-07-25 Michael Natterer <mitch@gimp.org> 2005-07-25 Michael Natterer <mitch@gimp.org>
Some DND fixes / cleanup: Some DND fixes / cleanup:
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* *
* Generates clickable image maps. * Generates clickable image maps.
* *
* Copyright (C) 1998-2003 Maurits Rijk lpeek.mrijk@consunet.nl * Copyright (C) 1998-2005 Maurits Rijk lpeek.mrijk@consunet.nl
* *
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
...@@ -47,9 +47,9 @@ static MapInfo_t *_map_info; ...@@ -47,9 +47,9 @@ static MapInfo_t *_map_info;
%} %}
%union { %union {
int val; int val;
double value; double value;
char id[256]; char id[1024]; /* Large enough to hold all polygon points! */
} }
%token<val> IMG SRC WIDTH HEIGHT BORDER USEMAP %token<val> IMG SRC WIDTH HEIGHT BORDER USEMAP
......
This diff is collapsed.
/* A Bison parser, made by GNU Bison 1.875d. */ /* A Bison parser, made by GNU Bison 2.0. */
/* Skeleton parser for Yacc-like parsing with Bison, /* Skeleton parser for Yacc-like parsing with Bison,
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
...@@ -90,11 +90,11 @@ ...@@ -90,11 +90,11 @@
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
#line 49 "imap_csim.y" #line 49 "imap_csim.y"
typedef union YYSTYPE { typedef union YYSTYPE {
int val; int val;
double value; double value;
char id[256]; char id[1024]; /* Large enough to hold all polygon points! */
} YYSTYPE; } YYSTYPE;
/* Line 1285 of yacc.c. */ /* Line 1318 of yacc.c. */
#line 99 "y.tab.h" #line 99 "y.tab.h"
# define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1 # define YYSTYPE_IS_DECLARED 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment