Commits

Eric Knibbe  committed 600e4a1 Draft

fixed issue with comment highlighting

  • Participants
  • Parent commits 8464e22

Comments (0)

Files changed (2)

File javascript/demo-lasso.html

 <div style="width: 60em; display: inline-block">
 
 <pre class="prettyprint lang-lasso">
+[no_square_brackets]
 &lt;?lasso
 /**
 	trait_json_serialize

File javascript/lang-lasso.js

         ],
         [
           // square or angle bracket delimiters
-          [PR['PR_TAG'],          /^\[|\]|<\?(?:lasso(?:script)?|=)|\?>/i],
+          [PR['PR_TAG'],          /^[[\]]|<\?(?:lasso(?:script)?|=)|\?>/i],
           // single-line or block comments
           [PR['PR_COMMENT'],      /^(?:\/\/[^\r\n]*|\/\*[\s\S]*?\*\/)/],
           // local, thread, or member variables, or keyword parameters, or hashbang