Skip to content

Commit 4100973

Browse files
authored
Merge pull request #4914 from alexet/fix-spec-bugs
QL Language specification. Fix multiple spec bugs.
2 parents 2c09f9a + 2686335 commit 4100973

File tree

6 files changed

+158
-109
lines changed

6 files changed

+158
-109
lines changed

docs/codeql/ql-language-reference/about-the-ql-language.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ When you write this process in QL, it closely resembles the above structure. Not
4444
For more information about the important concepts and syntactic constructs of QL, see the individual reference topics such as ":doc:`Expressions <expressions>`" and ":doc:`Recursion <recursion>`."
4545
The explanations and examples help you understand how the language works, and how to write more advanced QL code.
4646

47-
For formal specifications of the QL language and QLDoc comments, see the ":doc:`QL language specification <ql-language-specification>`" and ":doc:`QLDoc comment specification <qldoc-comment-specification>`."
47+
For a formal specification of the QL language, see the ":doc:`QL language specification <ql-language-specification>`."
4848

4949
QL and object orientation
5050
-------------------------

docs/codeql/ql-language-reference/index.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ Learn all about QL, the powerful query language that underlies the code scanning
3535

3636
- :doc:`QL language specification <ql-language-specification>`: A formal specification for the QL language. It provides a comprehensive reference for terminology, syntax, and other technical details about QL.
3737

38-
- :doc:`QLDoc comment specification <qldoc-comment-specification>`: A formal specification for QLDoc comments.
39-
4038
.. toctree::
4139
:maxdepth: 1
4240
:hidden:
@@ -56,4 +54,3 @@ Learn all about QL, the powerful query language that underlies the code scanning
5654
name-resolution
5755
evaluation-of-ql-programs
5856
ql-language-specification
59-
qldoc-comment-specification

docs/codeql/ql-language-reference/lexical-syntax.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,10 @@ For an overview of the lexical syntax, see "`Lexical syntax
1616
Comments
1717
********
1818

19-
All standard one-line and multiline comments, as described in the "`QL language specification
20-
<ql-language-specification#comments>`_," are ignored by the QL
19+
All standard one-line and multiline comments are ignored by the QL
2120
compiler and are only visible in the source code.
2221
You can also write another kind of comment, namely **QLDoc comments**. These comments describe
23-
QL entities and are displayed as pop-up information in QL editors. For information about QLDoc
24-
comments, see the ":doc:`QLDoc comment specification <qldoc-comment-specification>`."
22+
QL entities and are displayed as pop-up information in QL editors.
2523

2624
The following example uses these three different kinds of comments:
2725

0 commit comments

Comments
 (0)