Navigation Menu

Skip to content

Commit

Permalink
NSIS: Update regex for constants pattern (#3267)
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed Dec 4, 2021
1 parent c2afa59 commit 55583fb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/prism-nsis.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/prism-nsis.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion tests/languages/nsis/constant_feature.test
@@ -1,21 +1,25 @@
$(myLicenseData)
$(^Name)
$(!Name)
${LANG_ENGLISH}
${AtLeastWin8.1}
${nsArray_Copy}
${xml::CreateNode}
${^EXAMPLE}
${!defineifexist}

----------------------------------------------------

[
["constant", "$(myLicenseData)"],
["constant", "$(^Name)"],
["constant", "$(!Name)"],
["constant", "${LANG_ENGLISH}"],
["constant", "${AtLeastWin8.1}"],
["constant", "${nsArray_Copy}"],
["constant", "${xml::CreateNode}"],
["constant", "${^EXAMPLE}"]
["constant", "${^EXAMPLE}"],
["constant", "${!defineifexist}"]
]

----------------------------------------------------
Expand Down

0 comments on commit 55583fb

Please sign in to comment.