Skip to content

Commit

Permalink
support "?" at PLACE
Browse files Browse the repository at this point in the history
  • Loading branch information
Fsu0413 committed Mar 24, 2024
1 parent 7063f30 commit a9afe36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/mkdef.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ file(STRINGS "${NUMFILE}" NUMFILE_CONTENT)
# Read content from content to variables
set(I 0)
foreach(CONTENT_ITEM IN LISTS NUMFILE_CONTENT)
if (CONTENT_ITEM MATCHES "^([A-Za-z_][A-Za-z0-9_]*)[ \t\r\n]+([1-9][0-9]*)[ \t\r\n]+(\\*|[0-9]+_[0-9]+_[0-9]+[a-z]*)[ \t\r\n]+(EXIST|NOEXIST):([^:]*):(FUNCTION|VARIABLE):([^:]*)$")
if (CONTENT_ITEM MATCHES "^([A-Za-z_][A-Za-z0-9_]*)[ \t\r\n]+([1-9][0-9]*|\\?)[ \t\r\n]+(\\*|[0-9]+_[0-9]+_[0-9]+[a-z]*)[ \t\r\n]+(EXIST|NOEXIST):([^:]*):(FUNCTION|VARIABLE):([^:]*)$")
# directly strip nonexist symbol!
if (CMAKE_MATCH_4 STREQUAL "EXIST")
set("CONTENT_ITEM_${I}_SYMBOL" "${CMAKE_MATCH_1}")
Expand Down

0 comments on commit a9afe36

Please sign in to comment.