/** \file parser.h The fish parser. */ #ifndef FISH_PARSER_H #define FISH_PARSER_H #include #include "proc.h" #include "util.h" #include "parser.h" #include "event.h" #define PARSER_TEST_ERROR 1 #define PARSER_TEST_INCOMPLETE 2 /** REturn valuse for parser_is_switch() */ enum { ARG_NON_SWITCH, ARG_SWITCH, ARG_SKIP } ; /** event_block_t represents a block on events of the specified type */ typedef struct event_block { /** The types of events to block. This is interpreted as a bitset whete the value is 1 for every bit corresponding to a blocked event type. For example, if EVENT_VARIABLE type events should be blocked, (type & 1<