summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_lex.h
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-05-16 19:42:38 +0000
committerpfg <pfg@FreeBSD.org>2016-05-16 19:42:38 +0000
commit4743a67b216c8aba38ca3ae7f25e135225723f06 (patch)
tree2cb025abdcf68645e5c507928e638d0cba7af4f9 /sys/ddb/db_lex.h
parent1b15abb8fd6d585adf0aaa204a88a017a2b8e287 (diff)
downloadFreeBSD-src-4743a67b216c8aba38ca3ae7f25e135225723f06.zip
FreeBSD-src-4743a67b216c8aba38ca3ae7f25e135225723f06.tar.gz
Add a small set of logical operators to DDB command language.
This are based on Mach3. Documentation is pending but has been promised. Submitted by: Dan Partelly Reviewed by: adrian, jhb (older version) Differential Revision: https://reviews.freebsd.org/D4230 RelNotes: yes
Diffstat (limited to 'sys/ddb/db_lex.h')
-rw-r--r--sys/ddb/db_lex.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/ddb/db_lex.h b/sys/ddb/db_lex.h
index 8713a27..e20907d 100644
--- a/sys/ddb/db_lex.h
+++ b/sys/ddb/db_lex.h
@@ -69,5 +69,18 @@ extern char db_tok_string[TOK_STRING_SIZE];
#define tSHIFT_R 19
#define tDOTDOT 20
#define tSEMI 21
+#define tLOG_EQ 22
+#define tLOG_NOT_EQ 23
+#define tLESS 24
+#define tLESS_EQ 25
+#define tGREATER 26
+#define tGREATER_EQ 27
+#define tBIT_AND 28
+#define tBIT_OR 29
+#define tLOG_AND 30
+#define tLOG_OR 31
+#define tSTRING 32
+#define tQUESTION 33
+#define tBIT_NOT 34
#endif /* !_DDB_DB_LEX_H_ */
OpenPOWER on IntegriCloud