summaryrefslogtreecommitdiff
path: root/testsuite/TokoLoco/GlobalLocalValues.fth
blob: 10e72831a3713d72018b9e4bb514429ba26cd16e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
\  %Z%%M% %I% %W% %G% %U%
\       (C) Copyright 2005 IBM Corporation.  All Rights Reserved.
\       Licensed under the Common Public License (CPL) version 1.0
\       for full details see:
\            http://www.opensource.org/licenses/cpl1.0.php
\
\       Module Author:  David L. Paktor    dlpaktor@us.ibm.com

\  Load Locals Support under Global-Definitions.  Bypass Instance warning

\  Make sure this option is turned on.
[flag] Local-Values

global-definitions

\  Bypass warning about Instance without altering LocalValuesSupport file
alias generic-instance  instance
[macro] bypass-instance  f[  noop  .( Bypassed instance!) f]

overload alias instance bypass-instance

fload LocalValuesSupport.fth

\  Replace normal meaning of  Instance, still in Global scope.
overload alias instance generic-instance

\  Restore Device-Definitions scope.
device-definitions