diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2013-01-28 19:02:21 +0000 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2013-01-28 19:02:21 +0000 |
commit | f627f77f23d1497c9e1f4269b5c8812d12b42f18 (patch) | |
tree | 708772d83a8355e25155cf233d5a9e38f8ad4d96 /src/runtime/keyword.r | |
parent | 6ab0c0f5bf14ed9c15370407b9ee7e0b4b089ae1 (diff) | |
download | icon-f627f77f23d1497c9e1f4269b5c8812d12b42f18.tar.gz |
Imported Upstream version 9.5.0upstream/9.5.0upstream
Diffstat (limited to 'src/runtime/keyword.r')
-rw-r--r-- | src/runtime/keyword.r | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/src/runtime/keyword.r b/src/runtime/keyword.r index e6eb462..9e92607 100644 --- a/src/runtime/keyword.r +++ b/src/runtime/keyword.r @@ -55,25 +55,15 @@ keyword{4} collections } end -#if !COMPILER "&column - source column number of current execution point" keyword{1} column abstract { return integer; } inline { -#ifdef MultiThread -#ifdef EventMon - return C_integer findcol(ipc.opnd); -#else /* EventMon */ fail; -#endif /* EventMon */ -#else - fail; -#endif /* MultiThread */ } end -#endif /* !COMPILER */ "¤t - the currently active co-expression" keyword{1} current @@ -259,11 +249,7 @@ keyword{1,*} features return string } body { -#if COMPILER -#define Feature(guard,sym,kwval) if ((guard) && (kwval)) suspend C_string kwval; -#else /* COMPILER */ #define Feature(guard,sym,kwval) if (kwval) suspend C_string kwval; -#endif /* COMPILER */ #include "../h/features.h" fail; } @@ -275,17 +261,10 @@ keyword{1} file return string } inline { -#if COMPILER - if (line_info) - return C_string file_name; - else - runerr(402); -#else /* COMPILER */ char *s; s = findfile(ipc.opnd); if (!strcmp(s,"?")) fail; return C_string s; -#endif /* COMPILER */ } end @@ -332,10 +311,6 @@ keyword{1} level } inline { -#if COMPILER - if (!debug_info) - runerr(402); -#endif /* COMPILER */ return C_integer k_level; } end @@ -346,14 +321,7 @@ keyword{1} line return integer; } inline { -#if COMPILER - if (line_info) - return C_integer line_num; - else - runerr(402); -#else /* COMPILER */ return C_integer findline(ipc.opnd); -#endif /* COMPILER */ } end @@ -460,11 +428,7 @@ keyword{1} source return coexpr } inline { -#ifndef Coexpr - return k_main; -#else /* Coexpr */ return coexpr(topact((struct b_coexpr *)BlkLoc(k_current))); -#endif /* Coexpr */ } end @@ -545,9 +509,7 @@ keyword{1} version constant Version end -#ifndef MultiThread struct descrip kywd_xwin[2] = {{D_Null}}; -#endif /* MultiThread */ "&window - variable containing the current graphics rendering context." #ifdef Graphics |