Skip to content

Commit f93abd2

Browse files
committed
Misc. typos
Found via `codespell`
1 parent 64ac71c commit f93abd2

5 files changed

Lines changed: 7 additions & 11 deletions

File tree

cmake/sc_version_string.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ set(header_string "/* sc_version_string.h - written by cmake. Changes will be lo
7777
"#endif\n"
7878
)
7979

80-
#don't update the file unless somethig changed
80+
#don't update the file unless something changed
8181
string(RANDOM tmpsuffix)
8282
file(WRITE ${SC_VERSION_HEADER}.${tmpsuffix} ${header_string})
8383
execute_process(COMMAND ${CMAKE_COMMAND} -E copy_if_different ${SC_VERSION_HEADER}.${tmpsuffix} ${SC_VERSION_HEADER})
@@ -93,4 +93,3 @@ endif(NOT SC_IS_SUBBUILD)
9393
# indent-tabs-mode: t
9494
# End:
9595
# ex: shiftwidth=2 tabstop=8
96-

src/cldai/sdaiDaObject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ typedef SDAI_PID_ptr SDAI_PID_var;
6565
// The Direct Access Protocol supports direct access to persistent data
6666
// through typed attributes organized in data objects that are defined
6767
// in a Data Definition Language (DDL). An object using this protocol
68-
// whould represent its persistent data as one or more interconnected
68+
// would represent its persistent data as one or more interconnected
6969
// data objects, For uniformity, the persistent data of an object is
7070
// described as a single data object; however, that data object might be
7171
// the root of a graph of data objects interconnected by stored data

src/clstepcore/sdaiSelect.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ Severity SDAI_Select::STEPread( istream & in, ErrorDescriptor * err,
514514
STEPread_content( in, instances, 0, addFileId );
515515
}
516516

517-
else { // ERROR -- the type wasn\'t one of the choices
517+
else { // ERROR -- the type wasn't one of the choices
518518
err->AppendToDetailMsg(
519519
"The type of the SELECT type is not valid.\n" );
520520
err->GreaterSeverity( SEVERITY_WARNING );

src/exp2python/python/SCL/essa_par.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,18 @@ def process_nested_parent_str2(attr_str,idx=0):
4646
current_param = ''
4747
k += progress+1
4848
elif ch==')':
49-
#print "Down one level parenthesis: %i caracters parsed"%k
49+
#print "Down one level parenthesis: %i characters parsed"%k
5050
params.append(current_param)
5151
#print "Current params:",params#k -= acc-2
5252
return params,k
5353
else:
5454
current_param += ch
5555
#print "Ch:",ch
5656
#print "k:",k
57-
57+
5858
#raw_input("")
5959
#idx += 1
60-
60+
6161
params.append(current_param)
6262
return params,k
6363
#print process_nested_parent_str2('1,2,3,4,5,6')
@@ -69,6 +69,3 @@ def process_nested_parent_str2(attr_str,idx=0):
6969
print process_nested_parent_str2("Thomas, Paviot, ouais")[0]
7070
print process_nested_parent_str2("1,2,(3,4,5),6,7,8")[0]
7171
print process_nested_parent_str2("(#9149,#9166),#9142,.T.")[0]
72-
73-
74-

src/exp2python/src/classes_wrapper_python.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ void SCOPEPrint( Scope scope, FILES * files, Schema schema ) {
4141
SCOPEod
4242

4343
/* Defined Types with defined ancestor head
44-
* TODO: recusive approach
44+
* TODO: recursive approach
4545
*/
4646
SCOPEdo_types( scope, t, de )
4747
if ( ( t->search_id == CANPROCESS )

0 commit comments

Comments
 (0)