|
@@ -31,7 +31,7 @@ syntax logoPlayer_syntax (logoPlayer_lexique) {
|
|
|
$BEGIN$
|
|
|
<instructions> !? ioRoutineArray !? routineProgram
|
|
|
$END$
|
|
|
- [ !? ioRoutineArray insertKey !routineId ]
|
|
|
+ [ !? ioRoutineArray insertKey !routineId !routineProgram ]
|
|
|
}
|
|
|
|
|
|
rule <instructions> ?! @routineMap ioRoutineArray ?! @instructionList program {
|
|
@@ -92,7 +92,9 @@ syntax logoPlayer_syntax (logoPlayer_lexique) {
|
|
|
rule <call_routine> ?! @routineMap ioRoutineArray ?! @instructionList program {
|
|
|
$CALL$
|
|
|
$identifier$ ?let @lstring routineId
|
|
|
- [ ioRoutineArray searchKey !routineId ]
|
|
|
+ @instructionList routineProgram
|
|
|
+ [ ioRoutineArray searchKey !routineId ?routineProgram ]
|
|
|
+ program += routineProgram
|
|
|
}
|
|
|
|
|
|
}
|