diff options
author | Brad King <brad.king@kitware.com> | 2023-02-01 14:31:27 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-02-01 14:31:34 (GMT) |
commit | e86bebfd146c07d3a5eb34f9f35e133b6c3b805c (patch) | |
tree | 8bf8e6fe7bb9ffe0ba9e45a4fb5eada117c068c2 | |
parent | 0292cf3c96302922c2d9868ed16c1420e0c88231 (diff) | |
parent | 11d59c9ed65979c80a82ef69d1094f864d985bd8 (diff) | |
download | CMake-e86bebfd146c07d3a5eb34f9f35e133b6c3b805c.zip CMake-e86bebfd146c07d3a5eb34f9f35e133b6c3b805c.tar.gz CMake-e86bebfd146c07d3a5eb34f9f35e133b6c3b805c.tar.bz2 |
Merge topic 'update-kwsys'
11d59c9ed6 Merge branch 'upstream-KWSys' into update-kwsys
187389d9e1 KWSys 2023-02-01 (cafea4c8)
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8147
-rw-r--r-- | Source/kwsys/RegularExpression.cxx | 52 | ||||
-rw-r--r-- | Source/kwsys/RegularExpression.hxx.in | 2 |
2 files changed, 50 insertions, 4 deletions
diff --git a/Source/kwsys/RegularExpression.cxx b/Source/kwsys/RegularExpression.cxx index c96a96d..f2f5143 100644 --- a/Source/kwsys/RegularExpression.cxx +++ b/Source/kwsys/RegularExpression.cxx @@ -218,7 +218,7 @@ bool RegularExpression::deep_equal(const RegularExpression& rxp) const 20 // no Mark this point in input as start of // #n. // OPEN+1 is number 1, etc. -#define CLOSE 30 // no Analogous to OPEN. +#define CLOSE 52 // no Analogous to OPEN. /* * Opcode notes: @@ -1018,7 +1018,30 @@ int RegExpFind::regmatch(const char* prog) case OPEN + 6: case OPEN + 7: case OPEN + 8: - case OPEN + 9: { + case OPEN + 9: + case OPEN + 10: + case OPEN + 11: + case OPEN + 12: + case OPEN + 13: + case OPEN + 14: + case OPEN + 15: + case OPEN + 16: + case OPEN + 17: + case OPEN + 18: + case OPEN + 19: + case OPEN + 20: + case OPEN + 21: + case OPEN + 22: + case OPEN + 23: + case OPEN + 24: + case OPEN + 25: + case OPEN + 26: + case OPEN + 27: + case OPEN + 28: + case OPEN + 29: + case OPEN + 30: + case OPEN + 31: + case OPEN + 32: { int no; const char* save; @@ -1046,7 +1069,30 @@ int RegExpFind::regmatch(const char* prog) case CLOSE + 6: case CLOSE + 7: case CLOSE + 8: - case CLOSE + 9: { + case CLOSE + 9: + case CLOSE + 10: + case CLOSE + 11: + case CLOSE + 12: + case CLOSE + 13: + case CLOSE + 14: + case CLOSE + 15: + case CLOSE + 16: + case CLOSE + 17: + case CLOSE + 18: + case CLOSE + 19: + case CLOSE + 20: + case CLOSE + 21: + case CLOSE + 22: + case CLOSE + 23: + case CLOSE + 24: + case CLOSE + 25: + case CLOSE + 26: + case CLOSE + 27: + case CLOSE + 28: + case CLOSE + 29: + case CLOSE + 30: + case CLOSE + 31: + case CLOSE + 32: { int no; const char* save; diff --git a/Source/kwsys/RegularExpression.hxx.in b/Source/kwsys/RegularExpression.hxx.in index 2cb7f5e..1dc1dfa 100644 --- a/Source/kwsys/RegularExpression.hxx.in +++ b/Source/kwsys/RegularExpression.hxx.in @@ -50,7 +50,7 @@ public: enum { - NSUBEXP = 10 + NSUBEXP = 32 }; private: |