From 6f01b6c075a06285cb09434ed1775b1929e4663e Mon Sep 17 00:00:00 2001 From: Ben Renninson Date: Sun, 21 Jul 2024 12:35:17 +1000 Subject: [PATCH] support angelscript language Angelscript is very close to C++. Comments are the same format. --- core/Parsing.Documents.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Parsing.Documents.fs b/core/Parsing.Documents.fs index d456176..3b0f632 100644 --- a/core/Parsing.Documents.fs +++ b/core/Parsing.Documents.fs @@ -65,7 +65,7 @@ let mutable languages = [ ( oldSourceCode [ customLine xmldoc "'''"; oldLine "'" ] ) lang "Batch file" "bat" ".bat" <| sc [line "(?:@?rem|::)"] lang "Bikeshed" "" ".bs" <| docOf markdown - lang "C/C++" "c|c++|cpp" ".c|.cpp|.h" + lang "C/C++" "c|c++|cpp|angelscript" ".c|.cpp|.h|.as" ( oldSourceCode [ customBlock DocComments.javadoc ( "*", " * " ) javadocMarkers Parsing.SourceCode.cBlock