Skip to content

Commit f408f7a

Browse files
authored
Merge pull request #337 from joukewitteveen/patch-1
Typo fix: "has not effect" -> "has no effect"
2 parents 3da4b12 + a6b92aa commit f408f7a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

FrontEndAst/AcnEncodingClasses.fs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ let GetIntEncodingClass (integerSizeInBytes:BigInteger) (alignment: AcnAlignment
6666
| PosInt, Fixed(fixedSizeInBits) , BigEndianness when fixedSizeInBits = 8I ->
6767
match p.endiannessProp with
6868
| Some BigEndianness ->
69-
let errMsg = "endianness property has not effect here.\nLittle/big endian can be applied only for fixed size encodings and size must be 16 or 32 or 64\n"
69+
let errMsg = "endianness property has no effect here.\nLittle/big endian can be applied only for fixed size encodings and size must be 16 or 32 or 64\n"
7070
Console.Error.WriteLine(AntlrParse.formatSemanticWarning errLoc errMsg)
7171
| _ -> ()
7272
PositiveInteger_ConstSize_8, 8I, 8I
7373
| PosInt, Fixed(fixedSizeInBits) , LittleEndianness when fixedSizeInBits = 8I ->
74-
let errMsg = "endianness property has not effect here.\nLittle/big endian can be applied only for fixed size encodings and size must be 16 or 32 or 64\n"
74+
let errMsg = "endianness property has no effect here.\nLittle/big endian can be applied only for fixed size encodings and size must be 16 or 32 or 64\n"
7575
Console.Error.WriteLine(AntlrParse.formatSemanticWarning errLoc errMsg)
7676
PositiveInteger_ConstSize_8, 8I, 8I
7777
| PosInt, Fixed(fixedSizeInBits), BigEndianness when fixedSizeInBits = 16I-> PositiveInteger_ConstSize_big_endian_16, 16I, 16I
@@ -87,12 +87,12 @@ let GetIntEncodingClass (integerSizeInBytes:BigInteger) (alignment: AcnAlignment
8787
| TwosComplement, Fixed(fixedSizeInBits) , BigEndianness when fixedSizeInBits = 8I ->
8888
match p.endiannessProp with
8989
| Some BigEndianness ->
90-
let errMsg = "endianness property has not effect here.\nLittle/big endian can be applied only for fixed size encodings and size must be 16 or 32 or 64\n"
90+
let errMsg = "endianness property has no effect here.\nLittle/big endian can be applied only for fixed size encodings and size must be 16 or 32 or 64\n"
9191
Console.Error.WriteLine(AntlrParse.formatSemanticWarning errLoc errMsg)
9292
| _ -> ()
9393
TwosComplement_ConstSize_8, 8I, 8I
9494
| TwosComplement, Fixed(fixedSizeInBits) , LittleEndianness when fixedSizeInBits = 8I ->
95-
let errMsg = "endianness property has not effect here.\nLittle/big endian can be applied only for fixed size encodings and size must be 16 or 32 or 64\n"
95+
let errMsg = "endianness property has no effect here.\nLittle/big endian can be applied only for fixed size encodings and size must be 16 or 32 or 64\n"
9696
Console.Error.WriteLine(AntlrParse.formatSemanticWarning errLoc errMsg)
9797
TwosComplement_ConstSize_8, 8I, 8I
9898
| TwosComplement, Fixed(fixedSizeInBits), BigEndianness when fixedSizeInBits = 16I -> TwosComplement_ConstSize_big_endian_16, 16I, 16I

0 commit comments

Comments
 (0)