mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
also catch DC_KEY_GEN_RSA2048 as const
This commit is contained in:
@@ -149,9 +149,9 @@ def extract_defines(flags):
|
|||||||
| DC_PROVIDER
|
| DC_PROVIDER
|
||||||
| DC_KEY_GEN
|
| DC_KEY_GEN
|
||||||
) # End of prefix matching
|
) # End of prefix matching
|
||||||
_[A-Z_]+ # Match the suffix, e.g. _TEXT in DC_MSG_TEXT
|
_[\w_]+ # Match the suffix, e.g. _RSA2048 in DC_KEY_GEN_RSA2048
|
||||||
) # Close the capturing group, this contains
|
) # Close the capturing group, this contains
|
||||||
# the entire name e.g. DC_MSG_TEXT.
|
# the entire name e.g. DC_MSG_TEXT.
|
||||||
\s+\S+ # Ensure there is whitespace followed by a value.
|
\s+\S+ # Ensure there is whitespace followed by a value.
|
||||||
""", re.VERBOSE)
|
""", re.VERBOSE)
|
||||||
defines = []
|
defines = []
|
||||||
|
|||||||
Reference in New Issue
Block a user