| 48 | "include::{testDir}/example/WithImports.java[tag=all]\n"; /* 23 */ |
| 49 | |
| 50 | static const CBMDefinition *adoc_def(const CBMFileResult *r, const char *name) { |
| 51 | for (int i = 0; i < r->defs.count; i++) { |
| 52 | const CBMDefinition *d = &r->defs.items[i]; |
| 53 | if (d->label && strcmp(d->label, "Section") == 0 && d->name && strcmp(d->name, name) == 0) { |
| 54 | return d; |
| 55 | } |
| 56 | } |
| 57 | return NULL; |
| 58 | } |
| 59 | |
| 60 | static bool adoc_raw_has(const CBMFileResult *r, const char *needle) { |
| 61 | for (int i = 0; i < r->doc_links.count; i++) { |