瀏覽代碼

Fix hash comment in xdot sample

Niklas Mollenhauer 7 年之前
父節點
當前提交
c2cc55508b
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      website/monarch.html

+ 2 - 2
website/monarch.html

@@ -2989,7 +2989,7 @@ return {
       [/[ \t\r\n]+/, 'white'],
       [/[ \t\r\n]+/, 'white'],
       [/\/\*/,       'comment', '@comment' ],
       [/\/\*/,       'comment', '@comment' ],
       [/\/\/.*$/,    'comment'],
       [/\/\/.*$/,    'comment'],
-      [/#.$/,        'comment'],
+      [/#.*$/,       'comment'],
     ],
     ],
   },
   },
 };
 };
@@ -4305,4 +4305,4 @@ return {
 
 
 	<script data-inline="yes-please" src="./monarch/monarch.js" type="text/javascript"></script>
 	<script data-inline="yes-please" src="./monarch/monarch.js" type="text/javascript"></script>
 </body>
 </body>
-</html>
+</html>