Skip to content
Snippets Groups Projects
Commit b5613807 authored by MichelJuillard's avatar MichelJuillard
Browse files

make some fields public to fix

parent 0bedaf93
No related branches found
No related tags found
No related merge requests found
...@@ -199,10 +199,11 @@ public: ...@@ -199,10 +199,11 @@ public:
class AlreadyDeclaredException : public std::exception class AlreadyDeclaredException : public std::exception
{ {
public: public:
//! Was the previous declaration done with the same symbol type ?
const bool same_type;
//! Symbol name //! Symbol name
const string name; const string name;
//! Was the previous declaration done with the same symbol type ?
const bool same_type;
AlreadyDeclaredException(string name_arg, bool same_type_arg) : name(name_arg), AlreadyDeclaredException(string name_arg, bool same_type_arg) : name(name_arg),
same_type(same_type_arg) same_type(same_type_arg)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment