소스 검색

Create map to store routine names

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

+ 4 - 2
logoPlayer/galgas-sources/logoPlayer-semantics.galgas

@@ -1,3 +1,5 @@
-
-# ADD YOUR CODE
+map @routineMap {
+  insert insertKey error message "the '%K' routine has been already declared"
+  search searchKey error message "the '%K' routine is not declared"
+}