Skip to content

Commit

Permalink
Observe the following spelling:
Browse files Browse the repository at this point in the history
- wide character (noun)
- wide-character (adjective)

From wiz@NetBSD, inspired by jmc@OpenBSD.
  • Loading branch information
plunky committed Jun 7, 2011
1 parent fc711e8 commit f40fb36
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cc/ccom/scan.l
Expand Up @@ -595,9 +595,9 @@ wcharcon(void)
}

if (i == 0)
uerror("empty wide character constant");
uerror("empty wide-character constant");
if (i > 1)
werror("too many characters in wide character constant");
werror("too many characters in wide-character constant");
return xbcon(lastcon, NULL, ctype(UNSIGNED));
}

Expand Down
2 changes: 1 addition & 1 deletion config.h.in
Expand Up @@ -162,7 +162,7 @@
/* Version string */
#undef VERSSTR

/* Size of wide character type */
/* Size of wide-character type in chars */
#undef WCHAR_SIZE

/* Type to use for wide characters */
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Expand Up @@ -380,7 +380,7 @@ UNSIGNED|INT) wchar_size=4 ;;
esac

AC_DEFINE_UNQUOTED(WCHAR_TYPE, $wchar_type, [Type to use for wide characters])
AC_DEFINE_UNQUOTED(WCHAR_SIZE, $wchar_size, [Size of wide character type in chars])
AC_DEFINE_UNQUOTED(WCHAR_SIZE, $wchar_size, [Size of wide-character type in chars])

# check for additional compiler flags
AC_PROG_CC
Expand Down

0 comments on commit f40fb36

Please sign in to comment.