Verified Commit 8b44451b authored by Camil Staps's avatar Camil Staps 🚀

Also match /*... and */ for comment syntax

parent 5f7f893d
......@@ -150,7 +150,7 @@ bs_code =
bs_comments =
{ syntax_title = "comments"
, syntax_patterns = map exact ["//", "/\\*.*\\*/", "comments?"]
, syntax_patterns = map exact ["//", "/\\*.*", "\\*/", "comments?"]
, syntax_code = ["// ...", "/* ... */"]
, syntax_description = "`//` adds a single-line comment. `/*` and `*/` encapsulate a multi-line comment. Multi-line comments can be nested."
, syntax_doc_locations = [CLR 15 "B.2" "_Toc311798132"]
......
Subproject commit 395f0b0478ea737adb8611c2014d8f943b3e0eda
Subproject commit c8bb520b275f9c37eb1d8e7b27df414102f2d4ad
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment