* De-linkify XML namespace in docs (RT#81838)
+* Allow both single and double quotes for values in MySQL parser
# ----------------------------------------------------------
# 0.11016 2012-10-09
DOUBLE_QUOTE: '"'
+SINGLE_QUOTE: "'"
+
QUOTED_NAME : BACKTICK /[^`]+/ BACKTICK
{ $item[2] }
| DOUBLE_QUOTE /[^"]+/ DOUBLE_QUOTE
{ $item[2] }
+ | SINGLE_QUOTE /[^']+/ SINGLE_QUOTE
+ { $item[2] }
NAME: QUOTED_NAME
| /\w+/
VALUE : /[-+]?\.?\d+(?:[eE]\d+)?/
{ $item[1] }
- | /'.*?'/
+ | QUOTED_NAME
{
# remove leading/trailing quotes
my $val = $item[1];
unsuccessful date default '0000-00-00',
i1 int(11) default '0' not null,
s1 set('a','b','c') default 'b',
- e1 enum('a','b','c') default "c",
+ e1 enum("a","b","c") default "c",
name varchar(30) default NULL,
foo_type enum('vk','ck') NOT NULL default 'vk',
date timestamp,