[llvm] [Dexter] Add basic structured script parsing (PR #193710)

Jeremy Morse via llvm-commits llvm-commits at lists.llvm.org
Thu May 7 07:31:37 PDT 2026


================
@@ -0,0 +1,13 @@
+RUN: not %dexter_regression_test_run --binary %s --use-script -- %s 2>&1 | FileCheck %s
+
+This is a test that when the script document starts part-way through a file, any syntax errors are reported with the
+correct line number.
+
+CHECK:      No valid Dexter script found in file
+CHECK-NEXT: Script starting line 10
+CHECK-NEXT: Error with node: Where(file=main.cpp): unexpected attributes bees
+
+---
+!where {file: "main.cpp", bees: nose}:
----------------
jmorse wrote:

This means I'm no longer the only person to contribute the word "bees" to the repo, including transitively via @prophile, but alright.

https://github.com/llvm/llvm-project/pull/193710


More information about the llvm-commits mailing list