listing did not list POWOP

This commit is contained in:
Roberto Ierusalimschy 1994-11-17 17:09:46 -02:00
parent 3bd0f9e211
commit 9bee23fd05

View File

@ -1,6 +1,6 @@
%{ %{
char *rcs_luastx = "$Id: lua.stx,v 3.6 1994/11/14 21:40:14 roberto Exp $"; char *rcs_luastx = "$Id: lua.stx,v 3.7 1994/11/17 18:59:06 roberto Exp roberto $";
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
@ -15,7 +15,7 @@ char *rcs_luastx = "$Id: lua.stx,v 3.6 1994/11/14 21:40:14 roberto Exp $";
#include "lua.h" #include "lua.h"
#ifndef LISTING #ifndef LISTING
#define LISTING 1 #define LISTING 0
#endif #endif
#ifndef CODE_BLOCK #ifndef CODE_BLOCK
@ -866,6 +866,7 @@ static void PrintCode (Byte *code, Byte *end)
case SUBOP: printf ("%d SUBOP\n", (p++)-code); break; case SUBOP: printf ("%d SUBOP\n", (p++)-code); break;
case MULTOP: printf ("%d MULTOP\n", (p++)-code); break; case MULTOP: printf ("%d MULTOP\n", (p++)-code); break;
case DIVOP: printf ("%d DIVOP\n", (p++)-code); break; case DIVOP: printf ("%d DIVOP\n", (p++)-code); break;
case POWOP: printf ("%d POWOP\n", (p++)-code); break;
case CONCOP: printf ("%d CONCOP\n", (p++)-code); break; case CONCOP: printf ("%d CONCOP\n", (p++)-code); break;
case MINUSOP: printf ("%d MINUSOP\n", (p++)-code); break; case MINUSOP: printf ("%d MINUSOP\n", (p++)-code); break;
case NOTOP: printf ("%d NOTOP\n", (p++)-code); break; case NOTOP: printf ("%d NOTOP\n", (p++)-code); break;