fix: add missing zero initialization to region

This commit is contained in:
Aleš Matěj 2024-08-19 06:35:03 +02:00
parent cc0bee4fd4
commit 9c7cef94a5

View File

@ -34,7 +34,8 @@ class region
// a value that is constructed manually does not have input stream info
region()
: source_(nullptr), source_name_(""), length_(0),
first_line_(0), first_column_(0), last_line_(0), last_column_(0)
first_(0), first_line_(0), first_column_(0), last_(0), last_line_(0),
last_column_(0)
{}
// a value defined in [first, last).