mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-19 02:30:35 +03:00
mergeCastle: merge common repeats from the castles
This commit is contained in:
@@ -128,7 +128,9 @@ buildCastle(const CastleProto &proto,
|
||||
const CompileContext &cc, const ReportManager &rm);
|
||||
|
||||
/**
|
||||
* \brief Merge two CastleProto prototypes together, if possible.
|
||||
* \brief Merge two CastleProto prototypes together, if possible. If a
|
||||
* particular repeat from c2 is already in c1, then it will be reused rather
|
||||
* than adding a duplicate repeat.
|
||||
*
|
||||
* Returns true if merge of all repeats in c2 into c1 succeeds, and fills
|
||||
* mapping with the repeat indices.
|
||||
|
||||
Reference in New Issue
Block a user