Ver Fonte

Create map to store routine names

DricomDragon há 5 anos atrás
pai
commit
d157d8f202
1 ficheiros alterados com 4 adições e 2 exclusões
  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"
+}