Browse Source

Create map to store routine names

DricomDragon 5 năm trước cách đây
mục cha
commit
d157d8f202
1 tập tin đã thay đổi với 4 bổ sung2 xóa
  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"
+}