Salome HOME
projects
/
modules
/
yacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bos #26594 Failed KERNEL test: fix typemap for swig 4x
[modules/yacs.git]
/
src
/
yacsloader
/
samples
/
bloc4.xml
diff --git
a/src/yacsloader/samples/bloc4.xml
b/src/yacsloader/samples/bloc4.xml
index 72f74bba998bdb31f8ede0ec64ed66bef114fbb6..1278f774b8e7bf759c9165b8378241d940ab2166 100644
(file)
--- a/
src/yacsloader/samples/bloc4.xml
+++ b/
src/yacsloader/samples/bloc4.xml
@@
-1,5
+1,5
@@
<!--
<!--
- Copyright (C) 2006-201
4
CEA/DEN, EDF R&D
+ Copyright (C) 2006-201
9
CEA/DEN, EDF R&D
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@
-51,7
+51,7
@@
<inline name="node2" >
<function name="f">
<code>def f(s1):</code>
<inline name="node2" >
<function name="f">
<code>def f(s1):</code>
- <code> print
s1
</code>
+ <code> print
(s1)
</code>
<code> return s1 </code>
</function>
<inport name="s1" type="dblevec"/>
<code> return s1 </code>
</function>
<inport name="s1" type="dblevec"/>
@@
-61,7
+61,7
@@
<inline name="node1" >
<function name="f">
<code>def f(p1):</code>
<inline name="node1" >
<function name="f">
<code>def f(p1):</code>
- <code> print
p1
;p1=2*p1 </code>
+ <code> print
(p1)
;p1=2*p1 </code>
<code> return p1 </code>
</function>
<inport name="p1" type="string"/>
<code> return p1 </code>
</function>
<inport name="p1" type="string"/>