| 114 | COMMANDN(docremark, adddocremark, "s"); |
| 115 | |
| 116 | void adddocref(char *refident) |
| 117 | { |
| 118 | if(!lastident || !refident || !*refident) return; |
| 119 | #ifdef _DEBUG |
| 120 | if(!strcasecmp(refident, lastident->name)) clientlogf("docref: circular reference for %s", refident); |
| 121 | loopv(lastident->references) if(!strcasecmp(lastident->references[i], refident)) clientlogf("docref: double reference %s in %s", refident, lastident->name); |
| 122 | #endif |
| 123 | lastident->references.add(newstring(refident)); |
| 124 | } |
| 125 | COMMANDN(docref, adddocref, "s"); |
| 126 | |
| 127 | void adddocexample(char *code, char *explanation) |
nothing calls this directly
no test coverage detected