浏览代码

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"
+}