asterixdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ti...@apache.org
Subject asterixdb git commit: Fix for ASTERIXDB-1471
Date Thu, 21 Jul 2016 06:20:48 GMT
Repository: asterixdb
Updated Branches:
  refs/heads/master 74fec83d9 -> 8f7c7c6bf


Fix for ASTERIXDB-1471

The line number is increased twice in setBuffer and updateLineColumn
which causes the line number is 2x larger.

Change-Id: Ibd91bc13c3adbbbe1dbfa0dccbdf6b378b280eae
Reviewed-on: https://asterix-gerrit.ics.uci.edu/1012
Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Michael Blow <michael.blow@couchbase.com>


Project: http://git-wip-us.apache.org/repos/asf/asterixdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/asterixdb/commit/8f7c7c6b
Tree: http://git-wip-us.apache.org/repos/asf/asterixdb/tree/8f7c7c6b
Diff: http://git-wip-us.apache.org/repos/asf/asterixdb/diff/8f7c7c6b

Branch: refs/heads/master
Commit: 8f7c7c6bf76a7e42dc4f7b700fdfb01cb40485f2
Parents: 74fec83
Author: Xikui Wang <xkkwww@gmail.com>
Authored: Wed Jul 20 21:37:43 2016 -0700
Committer: Till Westmann <tillw@apache.org>
Committed: Wed Jul 20 23:20:22 2016 -0700

----------------------------------------------------------------------
 .../lexer-generator-maven-plugin/src/main/resources/Lexer.java      | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/asterixdb/blob/8f7c7c6b/asterixdb/asterix-maven-plugins/lexer-generator-maven-plugin/src/main/resources/Lexer.java
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-maven-plugins/lexer-generator-maven-plugin/src/main/resources/Lexer.java
b/asterixdb/asterix-maven-plugins/lexer-generator-maven-plugin/src/main/resources/Lexer.java
index 60e6e89..495a95e 100644
--- a/asterixdb/asterix-maven-plugins/lexer-generator-maven-plugin/src/main/resources/Lexer.java
+++ b/asterixdb/asterix-maven-plugins/lexer-generator-maven-plugin/src/main/resources/Lexer.java
@@ -85,7 +85,6 @@ public class [LEXER_NAME] {
         this.buffer = buffer;
         tokenBegin = bufpos = 0;
         containsEscapes = false;
-        line++;
         tokenBegin = -1;
     }
 


Mime
View raw message