소스 검색

Forbid recursive routines

DricomDragon 5 년 전
부모
커밋
99f692733c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      logoPlayer/galgas-sources/logoPlayer-syntax.galgas

+ 1 - 1
logoPlayer/galgas-sources/logoPlayer-syntax.galgas

@@ -22,11 +22,11 @@ syntax logoPlayer_syntax (logoPlayer_lexique) {
   rule <routine> ?! @routineMap ioRoutineArray {
     $ROUTINE$
     $identifier$ ?let @lstring routineId
-    [ !? ioRoutineArray insertKey !routineId ]
     log routineId
     $BEGIN$
     <instructions> !? ioRoutineArray
     $END$
+    [ !? ioRoutineArray insertKey !routineId ]
   } 
 
   rule <instructions> ?! @routineMap ioRoutineArray {