Changeset: 9ff0cac1bc62 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=9ff0cac1bc62
Modified Files:
sql/server/sql_parser.y
Branch: sciql
Log Message:
try to distinguish a single dim_range from a dim_range_list
by using a list of one list and a list of multiple lists
(this code may not be correct)
diffs (24 lines):
diff --git a/sql/server/sql_parser.y b/sql/server/sql_parser.y
--- a/sql/server/sql_parser.y
+++ b/sql/server/sql_parser.y
@@ -1569,14 +1569,18 @@
dimension: DIMENSION dim_range
{
- $$= _symbol_create_list(SQL_DIMENSION,$2);
+ dlist *l = L();
+ append_list(l, $2);
+ $$= _symbol_create_list(SQL_DIMENSION,l);
}
| DIMENSION {
$$= _symbol_create_list(SQL_DIMENSION,NULL);
}
| ARRAY dim_range_list
{
- $$= _symbol_create_list(SQL_DIMENSION,$2);
+ dlist *l = L();
+ append_list(l, $2);
+ $$= _symbol_create_list(SQL_DIMENSION,l);
}
;
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list