+ Added support for "-i" flags and case insensitive matching

+ Renamed Expr class to DisjList, which is more descriptive
  as to its function
+ Added ' and " to the list of allowed characters in an
  unquoted string.
+ Added updated sniffer rule grammar to doxygen for the
  Parser class


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@685 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Tyler Dauwalder
2002-08-10 09:36:00 +00:00
parent 0322e71475
commit 93d145bb01
14 changed files with 257 additions and 61 deletions
+3 -3
View File
@@ -16,7 +16,7 @@ class BPositionIO;
namespace Sniffer {
class Expr;
class DisjList;
/*! \brief A priority and a list of expressions to be used for sniffing out the
type of an untyped file.
@@ -34,10 +34,10 @@ private:
friend class Parser;
void Unset();
void SetTo(double priority, std::vector<Expr*>* list);
void SetTo(double priority, std::vector<DisjList*>* list);
double fPriority;
std::vector<Expr*> *fExprList;
std::vector<DisjList*> *fConjList; // A list of DisjLists to be ANDed
};
}