Merge pull request #473 from dbabokin/win_test

Avoid double spaces in error messages to get same messages on Win and Unix
This commit is contained in:
jbrodman
2013-04-16 07:22:11 -07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -157,7 +157,7 @@ DeclSpecs::GetBaseType(SourcePos pos) const {
return NULL;
}
else if (soaWidth <= 0 || (soaWidth & (soaWidth - 1)) != 0) {
Error(pos, "soa<%d> width illegal. Value must be positive power "
Error(pos, "soa<%d> width illegal. Value must be positive power "
"of two.", soaWidth);
return NULL;
}

View File

@@ -567,7 +567,7 @@ rate_qualified_type_specifier
$$ = NULL;
}
else if (soaWidth <= 0 || (soaWidth & (soaWidth - 1)) != 0) {
Error(@1, "soa<%d> width illegal. Value must be positive power "
Error(@1, "soa<%d> width illegal. Value must be positive power "
"of two.", soaWidth);
$$ = NULL;
}