remove FIXME comment about it.
+2016-03-21 Ben Elliston <bje@gnu.org>
+
+ * lib/dg.exp (dg-get-options): Clean up regular expression and
+ remove FIXME comment about it.
+
2016-03-20 Ben Elliston <bje@gnu.org>
* baseboards/i960-sim.exp: Remove stale ??? comment.
set tmp [grep $prog "{\[ \t\]\+dg-\[-a-z\]\+\[ \t\]\+.*\[ \t\]\+}" line]
if {![string match "" $tmp]} {
foreach i $tmp {
- # FIXME: When to use "+" and "\+" isn't clear.
- # Seems to me it took awhile to get this to work.
- regexp "(\[0-9\]\+)\[ \t\]\+{\[ \t\]+(dg-\[-a-z\]+)\[ \t\]\+(.*)\[ \t\]+}\[^\}\]*(\n|$)" $i i line cmd args
+ regexp "(\[0-9\]+)\[ \t\]+{\[ \t\]+(dg-\[-a-z\]+)\[ \t\]+(.*)\[ \t\]+}\[^\}\]*(\n|$)" $i i line cmd args
append result " { $cmd $line $args }"
}
}