Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/gtextutils/natsort.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
* and I prefer not to use it for now.
*
* Note 2:
* As of FSF GNU Coreutils version 7.1, the 'sort' progarm as a similar sorting order
* As of FSF GNU Coreutils version 7.1, the 'sort' program as a similar sorting order
* called 'version' (with the -V command argument).
* Coreutils's implementation is found in <coreutils-7.1>/src/filevercmp.{ch}.
* The results are similar to Matrin Poo's NatSort, but not identical
Expand Down
4 changes: 2 additions & 2 deletions src/gtextutils/tuple_parser.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
//#define TUPLE_PARSER_DEBUG

/*
The maximun valid number for a column.
The maximum valid number for a column.
The value is used in a bitset to prevent duplicated columns.
*/
#ifndef TUPLE_PARSER_MAX_COLUMN_NUMBER
Expand Down Expand Up @@ -257,7 +257,7 @@ class _Tuple_Parser_impl<_Idx>
Users should use a Tuple_Parser<> instead of _Tuple_Parser_impl<>.


Usage exmaple:
Usage example:

//Define a parser that extracts three fields from an input stream:
//an int, a string and a double.
Expand Down
4 changes: 2 additions & 2 deletions tests/test_tuple_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ void test_parser_parsing_error()
//We should not get here
ASSERT ( ! "Invalid input not detected." ) ;
} catch ( tuple_parser_parsing_error &ex ) {
//exception was thrown. valid reported errornous columns
//exception was thrown. valid reported erroneous columns
ASSERT ( ex.column() == 4 ) ;
}
}
Expand Down Expand Up @@ -139,7 +139,7 @@ void test_parser_premature_eol()
//We should not get here
ASSERT ( ! "premature-end-of-line not detected." ) ;
} catch ( tuple_parser_premature_end_of_line &ex ) {
//exception was thrown. valid reported errornous columns
//exception was thrown. valid reported erroneous columns
ASSERT ( ex.expected_columns() == 4 ) ;

ASSERT ( ex.actual_columns() == 2 ) ;
Expand Down