Permalink
Browse files

Fixed a bug of check_indent()

  • Loading branch information...
1 parent 5344490 commit 95f4af5820afa4443358d7ab8586b32de9cf88f6 nineties committed Mar 8, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 rowl1/rowl1-packrat.rlc
View
@@ -2,7 +2,7 @@
; rowl - 1st generation
; Copyright (C) 2010 nineties
;
-; $Id: rowl1-packrat.rlc 2013-03-08 17:07:53 nineties $
+; $Id: rowl1-packrat.rlc 2013-03-08 22:08:02 nineties $
;
(import "rlvm-compile")
@@ -520,6 +520,7 @@
(fun check_indent (p) (
(if (field_get p 7) (return @C_TRUE))
+ (if (< (lookahead p) 0) (return @C_TRUE))
(if (<= (field_get p 9) (field_get p 10))
(return @C_FALSE)

0 comments on commit 95f4af5

Please sign in to comment.