From cf60a96c381da94193c9c067f17f44cc9094280e Mon Sep 17 00:00:00 2001 From: William Candillon Date: Mon, 12 Nov 2012 09:25:16 -0800 Subject: [PATCH] Fix bug in the parser with XQDDF syntax. --- lib/ace/mode/xquery/XQueryParser.js | 11243 +++++++++++++------------- 1 file changed, 5692 insertions(+), 5551 deletions(-) diff --git a/lib/ace/mode/xquery/XQueryParser.js b/lib/ace/mode/xquery/XQueryParser.js index af38b6b9..f684390d 100644 --- a/lib/ace/mode/xquery/XQueryParser.js +++ b/lib/ace/mode/xquery/XQueryParser.js @@ -30,6 +30,9 @@ define(function(require, exports, module){ +// This file was generated on Mon Nov 12, 2012 09:14 (UTC-08) by REx v5.19 which is Copyright (c) 1979-2012 by Gunther Rademacher +// REx command line: XQueryParser.ebnf -ll 2 -backtrack -tree -javascript + var XQueryParser = exports.XQueryParser = function XQueryParser(string, parsingEventHandler) { init(string, parsingEventHandler); @@ -122,23 +125,23 @@ var XQueryParser = exports.XQueryParser = function XQueryParser(string, parsingE this.parse_XQuery = function() { eventHandler.startNonterminal("XQuery", e0); - lookahead1W(267); // Wildcard | EQName^Token | IntegerLiteral | DecimalLiteral | DoubleLiteral | + lookahead1W(272); // Wildcard | EQName^Token | IntegerLiteral | DecimalLiteral | DoubleLiteral | // StringLiteral | S^WS | EOF | '$' | '%' | '(' | '(#' | '(:' | '+' | '-' | '.' | // '..' | '/' | '//' | '<' | '