authorgravatar for eltociear@gmail.comIkko Ashimine <eltociear@gmail.com> 2022-07-12 01:30:28+09:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2022-07-11 18:30:28+02:00
logade9bd9287fcdd730a7562811d0e50a6899a6cf2
tree42d4827db5974b7b93472434de8dadc76d52e3f7
parent3e2e6c108a4306ed890b3034e2ad47c8d4caf2f7
signaturebadge-question-mark Signed by PGP key 4AEE18F83AFDEB23

stage1: fix typo in analyze.cpp (#12077)

accomodate -> accommodate

1 files changed, 1 insertions(+), 1 deletions(-)

src/stage1/analyze.cpp+1-1
...@@ -2781,7 +2781,7 @@ static Error type_is_valid_extern_enum_tag(CodeGen *g, ZigType *ty, bool *result...@@ -2781,7 +2781,7 @@ static Error type_is_valid_extern_enum_tag(CodeGen *g, ZigType *ty, bool *result
27812781
2782 // According to the ANSI C standard the enumeration type should be either a2782 // According to the ANSI C standard the enumeration type should be either a
2783 // signed char, a signed integer or an unsigned one. But GCC/Clang allow2783 // signed char, a signed integer or an unsigned one. But GCC/Clang allow
2784 // other integral types as a compiler extension so let's accomodate them2784 // other integral types as a compiler extension so let's accommodate them
2785 // aswell.2785 // aswell.
2786 return type_allowed_in_extern(g, ty, ExternPositionOther, result);2786 return type_allowed_in_extern(g, ty, ExternPositionOther, result);
2787}2787}