diff options
Diffstat (limited to 'fallback.c')
-rw-r--r-- | fallback.c | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -3,7 +3,7 @@ | |||
3 | ** TecCGraf - PUC-Rio | 3 | ** TecCGraf - PUC-Rio |
4 | */ | 4 | */ |
5 | 5 | ||
6 | char *rcs_fallback="$Id: fallback.c,v 1.10 1994/12/20 21:20:36 roberto Exp $"; | 6 | char *rcs_fallback="$Id: fallback.c,v 1.11 1995/02/06 19:34:03 roberto Exp roberto $"; |
7 | 7 | ||
8 | #include <stdio.h> | 8 | #include <stdio.h> |
9 | #include <string.h> | 9 | #include <string.h> |
@@ -11,7 +11,6 @@ char *rcs_fallback="$Id: fallback.c,v 1.10 1994/12/20 21:20:36 roberto Exp $"; | |||
11 | #include "mem.h" | 11 | #include "mem.h" |
12 | #include "fallback.h" | 12 | #include "fallback.h" |
13 | #include "opcode.h" | 13 | #include "opcode.h" |
14 | #include "inout.h" | ||
15 | #include "lua.h" | 14 | #include "lua.h" |
16 | 15 | ||
17 | 16 | ||
@@ -84,31 +83,31 @@ static void indexFB (void) | |||
84 | 83 | ||
85 | static void gettableFB (void) | 84 | static void gettableFB (void) |
86 | { | 85 | { |
87 | lua_reportbug("indexed expression not a table"); | 86 | lua_error("indexed expression not a table"); |
88 | } | 87 | } |
89 | 88 | ||
90 | 89 | ||
91 | static void arithFB (void) | 90 | static void arithFB (void) |
92 | { | 91 | { |
93 | lua_reportbug("unexpected type at conversion to number"); | 92 | lua_error("unexpected type at conversion to number"); |
94 | } | 93 | } |
95 | 94 | ||
96 | static void concatFB (void) | 95 | static void concatFB (void) |
97 | { | 96 | { |
98 | lua_reportbug("unexpected type at conversion to string"); | 97 | lua_error("unexpected type at conversion to string"); |
99 | } | 98 | } |
100 | 99 | ||
101 | 100 | ||
102 | static void orderFB (void) | 101 | static void orderFB (void) |
103 | { | 102 | { |
104 | lua_reportbug("unexpected type at comparison"); | 103 | lua_error("unexpected type at comparison"); |
105 | } | 104 | } |
106 | 105 | ||
107 | static void GDFB (void) { } | 106 | static void GDFB (void) { } |
108 | 107 | ||
109 | static void funcFB (void) | 108 | static void funcFB (void) |
110 | { | 109 | { |
111 | lua_reportbug("call expression not a function"); | 110 | lua_error("call expression not a function"); |
112 | } | 111 | } |
113 | 112 | ||
114 | 113 | ||