From a98c16b3e76f5a7320e22bcc23d3a13c14b0d2df Mon Sep 17 00:00:00 2001 From: idleberg Date: Fri, 9 Feb 2018 14:14:26 +0100 Subject: [PATCH] fix: add missing separator --- components/prism-nsis.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/prism-nsis.js b/components/prism-nsis.js index 3b7c8449ea..359b6c2865 100644 --- a/components/prism-nsis.js +++ b/components/prism-nsis.js @@ -1,7 +1,7 @@ /** * Original by Jan T. Sott (http://github.com/idleberg) * - * Includes all commands and plug-ins shipped with NSIS 3.02 + * Includes all commands and plug-ins shipped with NSIS 3.03 */ Prism.languages.nsis = { 'comment': { @@ -20,7 +20,7 @@ 'operator': /--?|\+\+?|<=?|>=?|==?=?|&&?|\|?\||[?*\/~^%]/, 'punctuation': /[{}[\];(),.:]/, 'important': { - pattern: /(^\s*)!(addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversionsystem|ifdef|ifmacrodef|ifmacrondef|ifndef|if|include|insertmacro|macroend|macro|makensis|packhdr|pragma|searchparse|searchreplace|tempfile|undef|verbose|warning)\b/mi, + pattern: /(^\s*)!(addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|system|ifdef|ifmacrodef|ifmacrondef|ifndef|if|include|insertmacro|macroend|macro|makensis|packhdr|pragma|searchparse|searchreplace|tempfile|undef|verbose|warning)\b/mi, lookbehind: true } };