await - пока без генерации нового узла

This commit is contained in:
Mikhalkovich Stanislav 2023-12-10 21:47:21 +03:00
parent f309dfc7aa
commit a96820ff0d
5 changed files with 2305 additions and 2295 deletions

View file

@ -2,7 +2,7 @@
// This CSharp output file generated by Gardens Point LEX
// Version: 1.1.3.301
// Machine: DESKTOP-G8V08V4
// DateTime: 08.12.2023 20:55:33
// DateTime: 08.12.2023 22:21:31
// UserName: ?????????
// GPLEX input file <ABCPascal.lex>
// GPLEX frame file <embedded resource>

View file

@ -3383,6 +3383,8 @@ expr_l1_for_lambda
expr_dq
: relop_expr
{ $$ = $1; }
| tkAwait relop_expr
{ $$ = $2; }
| expr_dq tkDoubleQuestion relop_expr
{ $$ = new double_question_node($1 as expression, $3 as expression, @$);}
;

File diff suppressed because it is too large Load diff

View file

@ -391,7 +391,7 @@ begin
end;
end;
'TranslateRobot': begin
CheckData(InitialInput := |cInt|);
CheckData(InitialInput := |cStr|);
GenerateTests('Left','Right','Up','Down');
case Str(0) of
'Left': CheckOutput('Влево');

View file

@ -2,6 +2,8 @@
uses LightPT;
function Chr(i: integer) := PABCSystem.Chr(i);
var AllTaskNames: array of string;
procedure CheckTaskT(name: string);