aboutsummaryrefslogtreecommitdiff
path: root/ldebug.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-10-25 09:50:46 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-10-25 09:50:46 -0200
commitbdf566a8a32450c2eb6273c8c1a92e2181b6846e (patch)
treeb301da541fbad81034216a6e0465cc381082431e /ldebug.c
parentc3c78030f79fdbbb06265d50645e408d60e7798e (diff)
downloadlua-bdf566a8a32450c2eb6273c8c1a92e2181b6846e.tar.gz
lua-bdf566a8a32450c2eb6273c8c1a92e2181b6846e.tar.bz2
lua-bdf566a8a32450c2eb6273c8c1a92e2181b6846e.zip
`name' in comments changed to 'name'
Diffstat (limited to 'ldebug.c')
-rw-r--r--ldebug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldebug.c b/ldebug.c
index 98eb8dc9..26f8ef80 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldebug.c,v 2.100 2014/07/30 14:00:14 roberto Exp roberto $ 2** $Id: ldebug.c,v 2.101 2014/10/17 16:28:21 roberto Exp roberto $
3** Debug Interface 3** Debug Interface
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -365,7 +365,7 @@ static int findsetreg (Proto *p, int lastpc, int reg) {
365 case OP_JMP: { 365 case OP_JMP: {
366 int b = GETARG_sBx(i); 366 int b = GETARG_sBx(i);
367 int dest = pc + 1 + b; 367 int dest = pc + 1 + b;
368 /* jump is forward and do not skip `lastpc'? */ 368 /* jump is forward and do not skip 'lastpc'? */
369 if (pc < dest && dest <= lastpc) { 369 if (pc < dest && dest <= lastpc) {
370 if (dest > jmptarget) 370 if (dest > jmptarget)
371 jmptarget = dest; /* update 'jmptarget' */ 371 jmptarget = dest; /* update 'jmptarget' */