Skip to content

Commit 11942a3

Browse files
committed
Misc. typos
1 parent f076b04 commit 11942a3

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

misc/flawfinder

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ def extract_c_parameters(text, pos=0):
451451
# so will get confused by patterns like gettext("hi") + function("bye")
452452
# In practice, this doesn't seem to be a problem; gettext() is usually
453453
# wrapped around the entire parameter.
454-
# The ?s makes it posible to match multi-line strings.
454+
# The ?s makes it possible to match multi-line strings.
455455
gettext_pattern = re.compile(r'(?s)^\s*' + 'gettext' + r'\s*\((.*)\)\s*$')
456456
undersc_pattern = re.compile(r'(?s)^\s*' + '_(T(EXT)?)?' + r'\s*\((.*)\)\s*$')
457457

src/cleditor/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
This directory contains source code defining a collection of
22
application independent classes supporting the editing of STEP
3-
instance data. This library includes functions for editing
3+
instance data. This library includes functions for editing
44
individual instances and for manipulating groups of instances.
55
The editor library acts as an intermediary between the core library
66
and a graphical user interface library.

src/cleditor/STEPfile.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ float STEPfile::GetWriteProgress() const {
101101
* returns an error descriptor.
102102
* It expects to find the "HEADER;" symbol at the beginning of the istream.
103103
*
104-
* side effects: The function gobbles all characters up to and including the
104+
* side effects: The function gobbles all characters up to and including the
105105
* next "ENDSEC;" from in.
106106
* The STEPfile::_headerInstances may change.
107107
*/

src/clstepcore/sdaiSelect.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ Severity SDAI_Select::STEPread( istream & in, ErrorDescriptor * err,
242242
/**
243243
** This section of code is used to read a value belonging to a select
244244
** contained in another select. If you have read the text part of the
245-
** TYPED_PARAMETER and it needs to fall down thru some levels of contained
245+
** TYPED_PARAMETER and it needs to fall down through some levels of contained
246246
** select types, then the text is passed down to each select in the utype
247247
** parameter as STEPread is called on each contained select type.DAS 2/4/97
248248
*/

src/exp2cxx/selects.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1940,5 +1940,5 @@ void TYPEselect_print( Type t, FILES * files, Schema schema ) {
19401940

19411941

19421942
/**************************************************************************
1943-
******** END of SELECT TYPE
1943+
******** END of SELECT TYPE
19441944
**************************************************************************/

src/exp2python/python/SCL/SimpleDataTypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def __init__(self, value, width=-1, fixed=False):
185185
self._fixed = fixed
186186
# Check implicit width
187187
if (width!=-1) and not fixed:
188-
raise ValueError("The 'width' parameter is passed but 'fixed' is still false. Please explicitely set 'fixed' to True to avoid implicit declaration")
188+
raise ValueError("The 'width' parameter is passed but 'fixed' is still false. Please explicitly set 'fixed' to True to avoid implicit declaration")
189189
# First check the string length if 'fixed' is set to True
190190
if fixed:
191191
if len(value) != width:

src/exp2python/src/multpass_python.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ static int checkItem( Type t, Scope parent, Schema schema, int * unknowncnt,
498498
parent->search_id = NOTKNOWN;
499499
/* We lower parent's value. But don't return TRUE. That
500500
// would tell checkTypes() that there's nothing more to
501-
// check. But checkTypes should keep looping thru the re-
501+
// check. But checkTypes should keep looping through the re-
502502
// maining items of parent - maybe one of them will tell us
503503
// that parent definitely can't be processed this pass. */
504504
( *unknowncnt )++;

src/exp2python/test/test_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def test_array_unique(self):
217217
self.fail('ExpectedException not thrown')
218218

219219
def test_array_optional(self):
220-
# if OPTIONAL is not set explicitely to True
220+
# if OPTIONAL is not set explicitly to True
221221
# then each value must be set
222222
a = ARRAY(1,3,REAL)
223223
try:

0 commit comments

Comments
 (0)