Commit ab2bd469 authored by stancakapost's avatar stancakapost
Browse files

using match instead of ==

parent 33738aa7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ type component IdComp {

testcase TC_Syn_0501_Identifier_001() runs on IdComp {
    const integer cl_iNT := 1;
    if (cl_int == 0){		
    if ( match(cl_int, 0) ){		
        setverdict(pass);
    }
    else {
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ function f_funcScope() runs on GeneralComp {

testcase TC_NegSem_0502_Scope_001() runs on GeneralComp {
    f_funcScope();
    if (v_function == 0){
    if ( match(v_function, 0) ){
    }
}

+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ function f_funcScope() runs on GeneralComp {
}		

testcase TC_NegSem_0502_Scope_002() runs on GeneralComp  {
    if (v_control == 0){
    if ( match(v_control, 0) ){
    }
}

+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ testcase TC_NegSem_0502_Scope_003() runs on GeneralComp {
    if(true) {
     var integer v_statement := 0;
    }
    if (v_statement == 0) {
    if ( match(v_statement, 0) ) {
    }
}

+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ type component GeneralComp {
}	

testcase TC_Sem_0502_Scope_001() runs on GeneralComp {
    if (cl_int == 0){
    if ( match(cl_int, 0) ){
		setverdict(pass);
    }
    else {