summaryrefslogtreecommitdiff
path: root/lib/command_graph.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/command_graph.h')
-rw-r--r--lib/command_graph.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/command_graph.h b/lib/command_graph.h
index 11cea9bd42..595508d5ce 100644
--- a/lib/command_graph.h
+++ b/lib/command_graph.h
@@ -61,6 +61,8 @@ enum cmd_token_type
SPECIAL_TKN = FORK_TKN,
};
+#define IS_VARYING_TOKEN(x) ((x) >= VARIABLE_TKN && (x) < FORK_TKN)
+
/* Command attributes */
enum
{