Overview
| Comment: | [core][build][fr] function tag() |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | fr | core | build | rg |
| Files: | files | file ages | folders |
| SHA3-256: |
9d18025dfd8812c8ca6821afcb64ff46 |
| User & Date: | olr on 2018-08-31 17:52:55 |
| Other Links: | branch diff | manifest | tags |
Context
|
2018-08-31
| ||
| 20:11 | [core][fr] tests: count unexpected errors check-in: 2d02b58aa3 user: olr tags: fr, core, rg | |
| 17:52 | [core][build][fr] function tag() check-in: 9d18025dfd user: olr tags: fr, core, build, rg | |
| 14:44 | [fr] ajustements check-in: 544fd5f5ad user: olr tags: fr, rg | |
Changes
Modified compile_rules_graph.py from [78ea46d853] to [f888a1d429].
| ︙ | |||
43 44 45 46 47 48 49 | 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | - - + + - - - - + + + + |
def prepareFunction (sCode):
"convert simple rule syntax to a string of Python code"
if sCode[0:1] == "=":
sCode = sCode[1:]
sCode = sCode.replace("__also__", "bCondMemo")
sCode = sCode.replace("__else__", "not bCondMemo")
sCode = sCode.replace("sContext", "_sAppContext")
|
| ︙ |
Modified gc_core/py/lang_core/gc_engine.py from [ca7de6ac32] to [b2d4e1c72e].
| ︙ | |||
1117 1118 1119 1120 1121 1122 1123 | 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 | - + |
return False
if dToken["i"] < dTags[sTag][1]:
return True
return False
def g_tag (dToken, sTag):
|
| ︙ |
Modified gc_lang/fr/rules.grx from [f8603c5689] to [6ac6005fbf].
| ︙ | |||
15587 15588 15589 15590 15591 15592 15593 15594 15595 15596 15597 15598 15599 15600 | 15587 15588 15589 15590 15591 15592 15593 15594 15595 15596 15597 15598 15599 15600 15601 15602 15603 15604 15605 15606 | + + + + + + |
__tag_verbe_infinitif_sujet__
[<start>|,] [ne|n’] ?[en|y]¿ ?presque¿ [pas|rien|guère|point|jamais|plus]
[<start>|,] [ne|n’] @:Y
[<start>|,] @:Y
<<- /2>> suj_vinfi
__se_douter__
[me|te|se] >douter [que|qu’]
nous nous >douter [que|qu’]
vous vous >douter [que|qu’]
<<- /-1>> no_subj
@@@@
@@@@
@@@@
@@@@
@@@@GRAPH: verbes2 _
@@@@
|
| ︙ | |||
16506 16507 16508 16509 16510 16511 16512 | 16512 16513 16514 16515 16516 16517 16518 16519 16520 16521 16522 16523 16524 16525 16526 16527 | + - + |
# verbe que + subjonctif
__vmode_qqch_que_subjonctif1__
[>permettre|>falloir|>vouloir|>ordonner|>exiger|>désirer|>préférer|>suffire] [que|qu’] @:(?:Os|M) @:I¬:[GYS]
[afin|avant|pour|quoi|sans] [que|qu’] @:(?:Os|M) @:I¬:[GYS]
<<- /vmode/ -4>> =suggVerbMode(\4, ":S", \3) # Après “\1 que”, ce verbe devrait être au subjonctif.
>douter [que|qu’] @:(?:Os|M) @:I¬:(?:[GYSK]|If)
<<- /vmode/ not tag(\2, "no_subj") and morph(\1, ":V", ":N")
|
| ︙ |