Commit 95a04ecf authored by Claes Sjofors's avatar Claes Sjofors

Misspelling fix

parent 62383b1d
...@@ -2665,7 +2665,7 @@ public class Ccm { ...@@ -2665,7 +2665,7 @@ public class Ccm {
operand = rowctx.list.get(idx-1); operand = rowctx.list.get(idx-1);
if ( operand.parlevel == 1) { if ( operand.parlevel == 1) {
rowctx.state = K_STATE_ERROR; rowctx.state = K_STATE_ERROR;
rowctx.msg = "Parentheses missmatch"; rowctx.msg = "Parenthesis mismatch";
} }
else { else {
curr_operand.parlevel = operand.parlevel - 1; curr_operand.parlevel = operand.parlevel - 1;
......
...@@ -1313,7 +1313,7 @@ int pn_gsdml::tag_stack_push( gsdml_eTag id) ...@@ -1313,7 +1313,7 @@ int pn_gsdml::tag_stack_push( gsdml_eTag id)
int pn_gsdml::tag_stack_pull( gsdml_eTag id) int pn_gsdml::tag_stack_pull( gsdml_eTag id)
{ {
if ( tag_stack_cnt < 1 || tag_stack[tag_stack_cnt - 1] != id) { if ( tag_stack_cnt < 1 || tag_stack[tag_stack_cnt - 1] != id) {
error_message_line( "Tag stack missmatch"); error_message_line( "Tag stack mismatch");
return 0; return 0;
} }
tag_stack_cnt--; tag_stack_cnt--;
......
...@@ -975,7 +975,7 @@ static void set_operand_parlevel_down( ccm_tRowCtx rowctx) ...@@ -975,7 +975,7 @@ static void set_operand_parlevel_down( ccm_tRowCtx rowctx)
if ( operand->parlevel == 1) if ( operand->parlevel == 1)
{ {
rowctx->state = K_STATE_ERROR; rowctx->state = K_STATE_ERROR;
strcpy( rowctx->msg, "Parentheses missmatch"); strcpy( rowctx->msg, "Parenthesis mismatch");
} }
else else
{ {
...@@ -5999,4 +5999,4 @@ buffer_exec_exit: ...@@ -5999,4 +5999,4 @@ buffer_exec_exit:
ccm_free_filectx( filectx); ccm_free_filectx( filectx);
return sts; return sts;
} }
\ No newline at end of file
...@@ -696,7 +696,7 @@ int co_xml_interpreter::tag_stack_push( unsigned int id) ...@@ -696,7 +696,7 @@ int co_xml_interpreter::tag_stack_push( unsigned int id)
int co_xml_interpreter::tag_stack_pull( unsigned int id) int co_xml_interpreter::tag_stack_pull( unsigned int id)
{ {
if ( tag_stack_cnt < 1 || tag_stack[tag_stack_cnt - 1] != id) { if ( tag_stack_cnt < 1 || tag_stack[tag_stack_cnt - 1] != id) {
parser->error_message_line( "Tag stack missmatch"); parser->error_message_line( "Tag stack mismatch");
return 0; return 0;
} }
tag_stack_cnt--; tag_stack_cnt--;
......
...@@ -258,7 +258,7 @@ readSectFile ( ...@@ -258,7 +258,7 @@ readSectFile (
time_AtoAscii(&vp->time, time_eFormat_DateAndTime, timbuf1, sizeof(timbuf1)); time_AtoAscii(&vp->time, time_eFormat_DateAndTime, timbuf1, sizeof(timbuf1));
time_AtoAscii(&cp->dbs.file.time, time_eFormat_DateAndTime, timbuf2, sizeof(timbuf2)); time_AtoAscii(&cp->dbs.file.time, time_eFormat_DateAndTime, timbuf2, sizeof(timbuf2));
errh_LogWarning(&cp->log, "Version missmatch for volume: %s, %s != %s", errh_LogWarning(&cp->log, "Version mismatch for volume: %s, %s != %s",
vp->name, timbuf1, timbuf2); vp->name, timbuf1, timbuf2);
cp->warnings++; cp->warnings++;
} }
...@@ -326,7 +326,7 @@ readSectVolRef ( ...@@ -326,7 +326,7 @@ readSectVolRef (
if ( dvp->volume.cid == pwr_eClass_DetachedClassVolume) { if ( dvp->volume.cid == pwr_eClass_DetachedClassVolume) {
/* Check dvVersion */ /* Check dvVersion */
if ( vp->volume.dvVersion != volRef.time.tv_sec) { if ( vp->volume.dvVersion != volRef.time.tv_sec) {
errh_LogWarning(&cp->log, "Version missmatch for volume %s: %s, %u (present), %d (detached)", errh_LogWarning(&cp->log, "Version mismatch for volume %s: %s, %u (present), %d (detached)",
dvp->name, vp->name, vp->volume.dvVersion, volRef.time.tv_sec); dvp->name, vp->name, vp->volume.dvVersion, volRef.time.tv_sec);
cp->warnings++; cp->warnings++;
} }
...@@ -342,7 +342,7 @@ readSectVolRef ( ...@@ -342,7 +342,7 @@ readSectVolRef (
time_AtoAscii(&vp->time, time_eFormat_DateAndTime, timbuf1, sizeof(timbuf1)); time_AtoAscii(&vp->time, time_eFormat_DateAndTime, timbuf1, sizeof(timbuf1));
time_AtoAscii(&volRef.time, time_eFormat_DateAndTime, timbuf2, sizeof(timbuf2)); time_AtoAscii(&volRef.time, time_eFormat_DateAndTime, timbuf2, sizeof(timbuf2));
errh_LogWarning(&cp->log, "Version missmatch for volume: %s, %s != %s", errh_LogWarning(&cp->log, "Version mismatch for volume: %s, %s != %s",
vp->name, timbuf1, timbuf2); vp->name, timbuf1, timbuf2);
cp->warnings++; cp->warnings++;
} }
......
...@@ -90,7 +90,7 @@ swindwarn <syntax warnings> /warn ...@@ -90,7 +90,7 @@ swindwarn <syntax warnings> /warn
swindsucc <successfull syntax control> /info swindsucc <successfull syntax control> /info
nodeclass <node parameter in plcpgm has to be of class rtnode> /error nodeclass <node parameter in plcpgm has to be of class rtnode> /error
badscantime <scantime has to be a multiple of 0.02 s> /error badscantime <scantime has to be a multiple of 0.02 s> /error
ordermism <missmatch in orderattributes> /error ordermism <mismatch in orderattributes> /error
orderattr <unknown order attribute> /error orderattr <unknown order attribute> /error
apinwind <both object connected to activity pin and subwindow found> /error apinwind <both object connected to activity pin and subwindow found> /error
anopinorwind <no object connected to activity pin and no subwindow found> /warn anopinorwind <no object connected to activity pin and no subwindow found> /warn
......
...@@ -1049,7 +1049,7 @@ static void set_operand_parlevel_down( t_row_ctx rowctx) ...@@ -1049,7 +1049,7 @@ static void set_operand_parlevel_down( t_row_ctx rowctx)
if ( operand->parlevel == 1) if ( operand->parlevel == 1)
{ {
rowctx->state = K_STATE_ERROR; rowctx->state = K_STATE_ERROR;
strcpy( rowctx->msg, "Parentheses missmatch"); strcpy( rowctx->msg, "Parenthesis mismatch");
} }
else else
{ {
...@@ -5795,4 +5795,4 @@ static char *gccm_gets( char *str, int size, char *inbuff, ...@@ -5795,4 +5795,4 @@ static char *gccm_gets( char *str, int size, char *inbuff,
(*inbuff_offset)++; (*inbuff_offset)++;
} }
return (char *) 1; return (char *) 1;
} }
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment