Liferay.Loader.define("portal-search-web$codemirror@5.62.0/mode/cmake/cmake",["module","exports","require","../../lib/codemirror"],(function(e,n,t){window,function(e){"use strict";e.defineMode("cmake",(function(){var e=/({)?[a-zA-Z0-9_]+(})?/;function n(e,n){for(var t,r,i=!1;!e.eol()&&(t=e.next())!=n.pending;){if("$"===t&&"\\"!=r&&'"'==n.pending){i=!0;break}r=t}return i&&e.backUp(1),t==n.pending?n.continueString=!1:n.continueString=!0,"string"}return{startState:function(){return{inDefinition:!1,inInclude:!1,continueString:!1,pending:!1}},token:function(t,r){return t.eatSpace()?null:function(t,r){var i=t.next();return"$"===i?t.match(e)?"variable-2":"variable":r.continueString?(t.backUp(1),n(t,r)):t.match(/(\s+)?\w+\(/)||t.match(/(\s+)?\w+\ \(/)?(t.backUp(1),"def"):"#"==i?(t.skipToEnd(),"comment"):"'"==i||'"'==i?(r.pending=i,n(t,r)):"("==i||")"==i?"bracket":i.match(/[0-9]/)?"number":(t.eatWhile(/[\w-]/),null)}(t,r)}}})),e.defineMIME("text/x-cmake","cmake")}("object"==typeof n&&"object"==typeof e?t("../../lib/codemirror"):CodeMirror)}));
//# sourceMappingURL=cmake.js.map