Skip to content

Commit

Permalink
Fix compile warning from recent patch
Browse files Browse the repository at this point in the history
  • Loading branch information
caryr committed Dec 9, 2015
1 parent fbeac72 commit 24d1f49
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vhdlpp/parse_types.h
@@ -1,7 +1,7 @@
#ifndef IVL_parse_types_H
#define IVL_parse_types_H
/*
* Copyright (c) 2011,2014 Stephen Williams (steve@icarus.com)
* Copyright (c) 2011-2015 Stephen Williams (steve@icarus.com)
* Copyright CERN 2013 / Stephen Williams (steve@icarus.com)
*
* This source code is free software; you can redistribute it
Expand Down Expand Up @@ -106,8 +106,8 @@ struct adding_term {
// (VHDL-2008 6.4.2.5)
class file_open_info_t {
public:
file_open_info_t(ExpString*filename, ExpName*kind = NULL)
: kind_(kind), filename_(filename) {
file_open_info_t(ExpString*filename__, ExpName*kind__ = NULL)
: kind_(kind__), filename_(filename__) {
// By default files are opened in read-only mode
if(!kind_) kind_ = new ExpName(perm_string::literal("read_mode"));
}
Expand Down

0 comments on commit 24d1f49

Please sign in to comment.