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
Merge branch 'master' into V9_dev
[modules/yacs.git]
/
src
/
yacsloader
/
samples
/
refcnt1.xml
diff --git
a/src/yacsloader/samples/refcnt1.xml
b/src/yacsloader/samples/refcnt1.xml
index 84ba725fb7b585880183ba2ec7abc81d4ff1c4a1..9895ab4ca224d20f52cde4bbdc3a976a94e33396 100644
(file)
--- a/
src/yacsloader/samples/refcnt1.xml
+++ b/
src/yacsloader/samples/refcnt1.xml
@@
-1,5
+1,5
@@
<!--
<!--
- Copyright (C) 2006-201
5
CEA/DEN, EDF R&D
+ Copyright (C) 2006-201
6
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
@@
-28,7
+28,7
@@
<code>def f(p1):</code>
<code> global a</code>
<code> a=a+1</code>
<code>def f(p1):</code>
<code> global a</code>
<code> a=a+1</code>
- <code> print
a
</code>
+ <code> print
(a)
</code>
<code> return p1</code>
</function>
<inport name="p1" type="int"/>
<code> return p1</code>
</function>
<inport name="p1" type="int"/>