From af551b3c09c21211c256505cd9e8c5aad83263ef Mon Sep 17 00:00:00 2001 From: Dmitry Babokin Date: Mon, 15 Apr 2013 19:10:10 +0400 Subject: [PATCH] Avoid double spaces in error messages to get same messages on Windows and Unix --- decl.cpp | 2 +- parse.yy | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/decl.cpp b/decl.cpp index b1f3a732..e7b3cdef 100644 --- a/decl.cpp +++ b/decl.cpp @@ -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; } diff --git a/parse.yy b/parse.yy index 78a9dcb7..7c33e53c 100644 --- a/parse.yy +++ b/parse.yy @@ -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; }