Commit d2040682 authored by kovacsa's avatar kovacsa
Browse files

editorial update for chapter 5

parent 4cfdafb2
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -8,12 +8,12 @@
module Syn_0501_Identifier_001 {

type component IdComp {	    	    
    const integer c_int := 0;
    const integer cl_int := 0;
}	

testcase TC_Syn_0501_Identifier_001() runs on IdComp {
    const integer C_INT := 1;
    if (c_int == 0){		
    const integer cl_iNT := 1;
    if (cl_int == 0){		
        setverdict(pass);
    }
    else {
+5 −5
Original line number Diff line number Diff line
@@ -10,9 +10,9 @@ module Sem_050201_Scope_001 {
type component GeneralComp {	    	    
}

function f_formalParameterScope_in(in integer MyReferenceParameter) {
 MyReferenceParameter := 1;
    if (MyReferenceParameter == 1){
function f_formalParameterScope_in(in integer p_myParameter) {
 p_myParameter := 1;
    if (p_myParameter == 1){
        setverdict(pass);
    }
    else {
@@ -20,8 +20,8 @@ function f_formalParameterScope_in(in integer MyReferenceParameter) {
    }		
}

function f_formalParameterScope_inout(inout integer MyReferenceParameter) {
 MyReferenceParameter := 1;
function f_formalParameterScope_inout(inout integer p_myParameter) {
 p_myParameter := 1;
}


+2 −2
Original line number Diff line number Diff line
@@ -7,11 +7,11 @@
module Sem_050202_Scope_001 {

type component GeneralComp {	    	    
    const integer c_int := 0;
    const integer cl_int := 0;
}	

testcase TC_Sem_0502_Scope_001() runs on GeneralComp {
    const integer c_int := 0;
    const integer cl_int := 0;
}	

control{  
+2 −2
Original line number Diff line number Diff line
@@ -7,11 +7,11 @@
module Sem_050202_Scope_002 {

type component GeneralComp {	    	    
    const integer c_int := 0;
    const integer cl_int := 0;
}	

function f_funcScope() {
    const integer c_int := 0; 	    
    const integer cl_int := 0; 	    
}

testcase TC_Sem_0502_Scope_002() runs on GeneralComp {
+2 −2
Original line number Diff line number Diff line
@@ -10,11 +10,11 @@ type component GeneralComp {
}	

function f_funcScope() {
    const integer c_int := 0; 	    
    const integer cl_int := 0; 	    
}

testcase TC_Sem_0502_Scope_003() runs on GeneralComp {
    const integer c_int := 0;
    const integer cl_int := 0;
    f_funcScope();
}	

Loading