Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
auraes
PunyInformFr
Commits
ecda3f25
Commit
ecda3f25
authored
Feb 06, 2021
by
auraes
💬
Browse files
Optimisation de DecolleApostrophe()
parent
5fb5dbd3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
lib/translation_v3.h
lib/translation_v3.h
+10
-7
No files found.
lib/translation_v3.h
View file @
ecda3f25
...
...
@@ -74,19 +74,21 @@ System_file;
else
return
0
;
at
=
at
+
2
;
w2
=
DictWord
(
at
,
lgm
);
if
(
w2
)
{
!
TODO
optimiser
if
(
w2
)
{
InsertWordParse
(
motn
+
1
,
w2
);
parse
-->
(
motn
*
2
-
1
)
=
w1
;
v
=
parse
->
(
motn
*
4
);
parse
->
((
motn
+
1
)
*
4
)
=
v
-
2
;
v
=
parse
->
(
motn
*
4
+
1
);
parse
->
((
motn
+
1
)
*
4
+
1
)
=
v
+
2
;
parse
->
(
motn
*
4
)
=
2
;
parse
-->
(
motn
*
2
-
1
)
=
w1
;
v
=
motn
*
4
;
parse
->
v
=
2
;
v
=
v
+
4
;
parse
->
v
=
lgm
;
++
v
;
parse
->
v
=
at
;
}
else
return
0
;
];
[
Translation
n
i
w1
w2
r
;
xBeforeParsing
();
!
r
=
0
;
n
=
NbMotPhrase
();
...
...
@@ -145,5 +147,6 @@ System_file;
parse
-->
3
=
w1
;
}
}
xBeforeParsing
();
];
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment