From 44ce8ed5cb963d4cb6bf085d7ee60b90afdb93f4 Mon Sep 17 00:00:00 2001 From: fche Date: Thu, 24 Nov 2005 22:45:52 +0000 Subject: 2005-11-24 Frank Ch. Eigler PR 1903 * parse.cxx (eval_pp_conditional): Support %( arch == "i686" %) form. * stap.1.in: Document it. * testsuite/parseok/fourteen.stp: Test it. * session.h (architecture): New field. * main.cxx (main): Initialize it. --- testsuite/parseok/fourteen.stp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'testsuite') diff --git a/testsuite/parseok/fourteen.stp b/testsuite/parseok/fourteen.stp index e68aa4fe..cc51b90b 100755 --- a/testsuite/parseok/fourteen.stp +++ b/testsuite/parseok/fourteen.stp @@ -8,3 +8,10 @@ global %: "FAIL2" %) %: "FAIL3" %) %: "FAIL4" %) + +global +%( arch == "i386" %? i386 +%: %( arch == "i686" %? i686 + %: %( arch != "x86_64" %? other %: x86_64 %) + %) +%) -- cgit