[augeas-devel] augeas: master - * src/lexer.l: correct location info for strings and regexps

David Lutterkort lutter at fedoraproject.org
Sat Feb 21 06:36:27 UTC 2009


Gitweb:        http://git.fedorahosted.org/git/augeas.git?p=augeas.git;a=commitdiff;h=4e75f8fdd59ecca1ba896389729edda8e27f54eb
Commit:        4e75f8fdd59ecca1ba896389729edda8e27f54eb
Parent:        7518841124128ed0ca917ea61c375d8531b44155
Author:        David Lutterkort <lutter at redhat.com>
AuthorDate:    Fri Feb 20 22:03:21 2009 -0800
Committer:     David Lutterkort <lutter at redhat.com>
CommitterDate: Fri Feb 20 22:29:53 2009 -0800

* src/lexer.l: correct location info for strings and regexps

---
 src/lexer.l |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/lexer.l b/src/lexer.l
index e20be7f..1fbe62a 100644
--- a/src/lexer.l
+++ b/src/lexer.l
@@ -58,7 +58,6 @@ static void loc_update(YYLTYPE *yylloc, const char *s, int len) {
     if (s[i] == '\n') {
       LOCATION_LINES(*yylloc, 1);
     }
-    LOCATION_STEP(*yylloc);
   }
 }
 %}




More information about the augeas-devel mailing list