From f7fa2e843382fba23fd46d68958ffc8652300b1d Mon Sep 17 00:00:00 2001 From: Torbjorn Granlund Date: Sun, 15 Nov 2009 01:11:19 +0100 Subject: Fix lot of spelling errors. --- demos/expr/README | 2 +- demos/perl/GMP.pm | 4 ++-- demos/perl/typemap | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'demos') diff --git a/demos/expr/README b/demos/expr/README index 2283cd3ff..f80b4d707 100644 --- a/demos/expr/README +++ b/demos/expr/README @@ -474,7 +474,7 @@ Assignment could be an operator attribute, making it expect an lvalue. There would want to be a standard table without assignments available though, so user input could be safely parsed. -The closing parethesis table entry could specify the type of open paren it +The closing parenthesis table entry could specify the type of open paren it expects, so that "(" and ")" could match and "[" and "]" match but not a mixture of the two. Currently "[" and "]" can be added, but there's no error on writing a mixed expression like "2*(3+4]". Maybe also there could diff --git a/demos/perl/GMP.pm b/demos/perl/GMP.pm index 00b676166..3dc6b32ef 100644 --- a/demos/perl/GMP.pm +++ b/demos/perl/GMP.pm @@ -209,7 +209,7 @@ and must be a multiple of $size bytes. C conversely returns a string of byte data, which will be a multiple of $size bytes. C returns the inverse, or undef if it doesn't exist. C -returns a remainder/multiplicty pair. C returns the nth root, and +returns a remainder/multiplicity pair. C returns the nth root, and C returns a root/bool pair, the bool indicating whether the root is exact. C and C return a root/remainder pair. @@ -477,7 +477,7 @@ corresponding GMP function. For example, Arguments to operators and functions are converted as necessary to the appropriate type. For instance C<**> requires an unsigned integer exponent, and an mpq argument will be converted, so long as it's an integer in the -apropriate range. +appropriate range. use GMP::Mpz (mpz); use GMP::Mpq (mpq); diff --git a/demos/perl/typemap b/demos/perl/typemap index 7ad797641..06dc96d7d 100644 --- a/demos/perl/typemap +++ b/demos/perl/typemap @@ -73,7 +73,7 @@ ULONG_COERCE ORDER_NOSWAP assert ($arg != &PL_sv_yes); DUMMY - /* dummy $var */ + /* dummy $var */ CONST_STRING_ASSUME /* No need to check for SvPOKp and use SvPV, this mapping is only used for overload_constant, which always gets literal -- cgit v1.2.1