aboutsummaryrefslogtreecommitdiff
path: root/fallback.c
diff options
context:
space:
mode:
Diffstat (limited to 'fallback.c')
-rw-r--r--fallback.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/fallback.c b/fallback.c
index dee8dfb3..7fff6690 100644
--- a/fallback.c
+++ b/fallback.c
@@ -3,7 +3,7 @@
3** TecCGraf - PUC-Rio 3** TecCGraf - PUC-Rio
4*/ 4*/
5 5
6char *rcs_fallback="$Id: fallback.c,v 1.10 1994/12/20 21:20:36 roberto Exp $"; 6char *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
85static void gettableFB (void) 84static 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
91static void arithFB (void) 90static 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
96static void concatFB (void) 95static 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
102static void orderFB (void) 101static void orderFB (void)
103{ 102{
104 lua_reportbug("unexpected type at comparison"); 103 lua_error("unexpected type at comparison");
105} 104}
106 105
107static void GDFB (void) { } 106static void GDFB (void) { }
108 107
109static void funcFB (void) 108static 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