Fix build.

This commit is contained in:
David Anderson 2014-06-21 03:32:03 -07:00
parent 17bbbb9a46
commit b46ec5cd28
2 changed files with 3 additions and 3 deletions

View File

@ -3558,11 +3558,11 @@ static void domethodmap(LayoutSpec spec)
if (!isupper(*mapname))
error(109, spectype);
enum LayoutSpec old_spec = deduce_layout_spec_by_name(mapname);
LayoutSpec old_spec = deduce_layout_spec_by_name(mapname);
if (!can_redef_layout_spec(spec, old_spec))
error(110, mapname, layout_spec_name(old_spec));
struct methodmap_t *parent = NULL;
methodmap_t *parent = NULL;
if (matchtoken('<')) {
if (lex(&val, &str) != tSYMBOL) {

View File

@ -69,7 +69,7 @@ typedef struct pstruct_s
// The ordering of these definitions should be preserved for
// can_redef_layout_spec().
typedef enum
typedef enum LayoutSpec_t
{
Layout_None,
Layout_Enum,