mirror of
https://github.com/github/codeql.git
synced 2026-05-14 19:29:28 +02:00
#8: Reject * after non-capture template groups with a compile error. Previously (foo (bar)*) silently dropped the *, behaving like (bar). #9: Verify inner token streams are exhausted after parsing query nodes. Unconsumed tokens inside a parenthesized group now produce a compile error. Fixed a test using the old redundant (pattern)* syntax inside a field*: group. #10: Use ast.get_root() instead of hardcoded 0 for the root node id in apply_rules calls. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
CodeQL Shared Libraries
This folder contains shared, language-agnostic CodeQL libraries.
Libraries are organized into separate query packs, in order to allow for
individual versioning. For example, the shared static single assignment (SSA)
library exists in the codeql/ssa pack, which can be referenced by adding
dependencies:
codeql/ssa: 0.0.1
to qlpack.yml.
All shared libraries will belong to a codeql/<name> pack, and live in the
namespace codeql.<name>.