From a8a535eada24228dddcb190ecf874aa707543f89 Mon Sep 17 00:00:00 2001 From: Eric Niebler Date: Sat, 2 Nov 2024 11:05:31 -0700 Subject: [PATCH] add support for CUDA C++ --- core/Parsing.Documents.fs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/core/Parsing.Documents.fs b/core/Parsing.Documents.fs index d456176..d329403 100644 --- a/core/Parsing.Documents.fs +++ b/core/Parsing.Documents.fs @@ -74,6 +74,15 @@ let mutable languages = [ cLine ] ) + lang "CUDA C++" "cuda-cpp" ".cu|.cuh" + ( oldSourceCode + [ customBlock DocComments.javadoc ( "*", " * " ) javadocMarkers + Parsing.SourceCode.cBlock + customLine xmldoc "///" + customLine DocComments.javadoc "//!?" + cLine + ] + ) lang "C#" "csharp" ".cs" ( oldSourceCode [ customLine xmldoc "///"; cLine