On Fri, Oct 30, 2020 at 12:34:57PM +0100, Thomas Schwinge wrote: > Hi! > > On 2017-05-22T18:55:29+0200, Tom de Vries <tom_devr...@mentor.com> wrote: > > On 05/16/2017 03:12 PM, Rainer Orth wrote: > >> [...], but the new proc ['dg-line'] needs documenting in sourcebuild.texi. > > > > Attached patch adds the missing documentation. > > OK to expand that with the attached patch to "Document that 'linenumvar' > in 'dg-line' may contain Tcl syntax"? (Hooray for embedded Tcl! -- > Don't hurt me; I (later) have a use case where this does make things > easier.)
Is it desirable though? I mean if we ever decide to switch from dejagnu to something else, adding parsing of our dg-* grammar is not that hard, and while we rely on some tcl details already (e.g. the {}s vs. ""s for regular expressions etc.), allowing arbitrary embedded tcl will make that effort even harder. Jakub