()
| 2049 | } |
| 2050 | |
| 2051 | void undefined() { |
| 2052 | if (nextToken()=='(') |
| 2053 | error("Undefined identifier"); |
| 2054 | else { |
| 2055 | if (pgm.getSize()==1) { |
| 2056 | String cmd = pgm.decodeToken(pgm.code[0]); |
| 2057 | cmd = cmd.replaceAll("_", " "); |
| 2058 | Hashtable commands = Menus.getCommands(); |
| 2059 | if (commands!=null && commands.get(cmd)!=null) |
| 2060 | IJ.run(cmd); |
| 2061 | else |
| 2062 | error("Undefined variable"); |
| 2063 | } else |
| 2064 | error("Undefined variable"); |
| 2065 | } |
| 2066 | } |
| 2067 | |
| 2068 | void dump() { |
| 2069 | getParens(); |
no test coverage detected