Jan Breuer
2015-03-18 323ec66d62f19673e66762fe25585746d3b2a5e0
libscpi/src/parser.c
@@ -675,3 +675,11 @@
    return FALSE;
}
scpi_bool_t SCPI_IsCmd(scpi_t * context, const char * cmd) {
    if (! context->paramlist.cmd) {
        return FALSE;
    }
    const char * pattern = context->paramlist.cmd->pattern;
    return matchCommand (pattern, cmd, strlen (cmd));
}