"<Export generator=" in the first line-probe bytes: an ObjectScript Studio * export, which is XML by name. */
| 1610 | /* "<Export generator=" in the first line-probe bytes: an ObjectScript Studio |
| 1611 | * export, which is XML by name. */ |
| 1612 | static bool lang_objectscript_export(const unsigned char *head, size_t n) { |
| 1613 | char buf[LANG_PROBE_LINE + SKIP_ONE]; |
| 1614 | lang_head_text(buf, LANG_PROBE_LINE, head, n); |
| 1615 | return strstr(buf, "<Export generator=") != NULL; |
| 1616 | } |
| 1617 | |
| 1618 | _Static_assert(LANG_PROBE_CFC == CBM_LANGUAGE_PROBE_MAX, "the longest probe is the public bound"); |
| 1619 |
no test coverage detected