From 2ff23a6fc0a402fbb15701e04866f7d2b70ebbe0 Mon Sep 17 00:00:00 2001 From: erik-krogh Date: Tue, 20 Dec 2022 11:39:06 +0100 Subject: [PATCH] make top TreeSitter.qll comment into a qldoc --- ql/generator/src/main.rs | 2 +- ql/ql/src/codeql_ql/ast/internal/TreeSitter.qll | 2 +- ruby/generator/src/main.rs | 2 +- ruby/ql/lib/codeql/ruby/ast/internal/TreeSitter.qll | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ql/generator/src/main.rs b/ql/generator/src/main.rs index 790cb7f1533..5fb2cfca53d 100644 --- a/ql/generator/src/main.rs +++ b/ql/generator/src/main.rs @@ -604,7 +604,7 @@ fn main() -> std::io::Result<()> { let mut ql_writer = LineWriter::new(File::create(ql_library_path)?); write!( ql_writer, - "/*\n\ + "/**\n\ * CodeQL library for {} * Automatically generated from the tree-sitter grammar; do not edit\n\ */\n\n", diff --git a/ql/ql/src/codeql_ql/ast/internal/TreeSitter.qll b/ql/ql/src/codeql_ql/ast/internal/TreeSitter.qll index d68a08d33c9..ae5e2acfcf8 100644 --- a/ql/ql/src/codeql_ql/ast/internal/TreeSitter.qll +++ b/ql/ql/src/codeql_ql/ast/internal/TreeSitter.qll @@ -1,4 +1,4 @@ -/* +/** * CodeQL library for QL * Automatically generated from the tree-sitter grammar; do not edit */ diff --git a/ruby/generator/src/main.rs b/ruby/generator/src/main.rs index 2adb09fabb1..e5c08d1e29a 100644 --- a/ruby/generator/src/main.rs +++ b/ruby/generator/src/main.rs @@ -599,7 +599,7 @@ fn main() -> std::io::Result<()> { let mut ql_writer = LineWriter::new(File::create(ql_library_path)?); write!( ql_writer, - "/*\n\ + "/**\n\ * CodeQL library for {} * Automatically generated from the tree-sitter grammar; do not edit\n\ */\n\n", diff --git a/ruby/ql/lib/codeql/ruby/ast/internal/TreeSitter.qll b/ruby/ql/lib/codeql/ruby/ast/internal/TreeSitter.qll index 7d76c3d701a..f16d166eac1 100644 --- a/ruby/ql/lib/codeql/ruby/ast/internal/TreeSitter.qll +++ b/ruby/ql/lib/codeql/ruby/ast/internal/TreeSitter.qll @@ -1,4 +1,4 @@ -/* +/** * CodeQL library for Ruby * Automatically generated from the tree-sitter grammar; do not edit */