vhdlpp: Fixed the range boundaries order.

This commit is contained in:
Maciej Suminski 2015-12-04 10:29:08 +01:00
parent 2e9c3555cb
commit 96a0a84e6c
2 changed files with 3 additions and 3 deletions

View File

@ -265,8 +265,8 @@ void VTypeArray::evaluate_ranges(ScopeBase*scope) {
}
}
VTypeRange::VTypeRange(const VType*base, int64_t end_val, int64_t start_val)
: base_(base), end_(end_val), start_(start_val)
VTypeRange::VTypeRange(const VType*base, int64_t start_val, int64_t end_val)
: base_(base), start_(start_val), end_(end_val)
{
}

View File

@ -283,7 +283,7 @@ class VTypeRange : public VType {
private:
const VType*base_;
int64_t end_, start_;
int64_t start_, end_;
};
class VTypeEnum : public VType {