]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[4313] Added a comment about Token subtype order
authorFrancis Dupont <fdupont@isc.org>
Thu, 10 Mar 2016 13:46:57 +0000 (14:46 +0100)
committerFrancis Dupont <fdupont@isc.org>
Thu, 10 Mar 2016 13:46:57 +0000 (14:46 +0100)
src/lib/eval/token.h

index 48e3962510df617beefd419efb5b062caa253a4b..f85776cd73c9796ff470855cf5550ccf43007699 100644 (file)
@@ -99,6 +99,14 @@ public:
     }
 };
 
+/// The order where Token subtypes are declared should be:
+///  - literal terminals
+///  - option & co
+///  - pkt & co
+///  - ==
+///  - substring & co
+///  - not, and, or
+
 /// @brief Token representing a constant string
 ///
 /// This token holds value of a constant string, e.g. it represents