From 24cb178fd82936f55d254ebd0cd79802da21134a Mon Sep 17 00:00:00 2001 From: fche Date: Thu, 28 Jul 2005 18:07:02 +0000 Subject: 2005-07-28 Frank Ch. Eigler translator/1120 * main.cxx (main): Preset -R and -I options from environment variables (if set). Pass guru mode flags to parser. * parse.cxx (privileged): New parser operation flag. Update callers. (parse_embeddedcode): Throw an error if !privileged. (parse_functiondecl): Change signature. Prevent duplicates. (parse_globals): Ditto. * parse.h: Corresponding changes. * tapset/*.stp: Beginnings of real tapset library, to replace previous builtins. * tapsets.cxx: Greatly reduce verbose mode output. * Makefile.am: Install & dist it. * runtest.sh: Refer to it. * Makefile.in, aclocal.m4: Regenerated. * testsuite/*/*.stp: Set guru mode via /bin/sh if needed. * testusite/*/*ko.stp: Homogenize shell scripts. --- testsuite/parseok/twelve.stp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'testsuite/parseok/twelve.stp') diff --git a/testsuite/parseok/twelve.stp b/testsuite/parseok/twelve.stp index 5b8a3932..d5029d1a 100755 --- a/testsuite/parseok/twelve.stp +++ b/testsuite/parseok/twelve.stp @@ -1,4 +1,6 @@ -#! stap -p1 +#! /bin/sh + +./stap -p1 -g $@ - <<'END' %{ /* hello world */ @@ -7,3 +9,5 @@ function foo (p1, p2) %{ /* goodbye world */ %} + +END -- cgit