From 183a05156a4cd78fb8a418f8afd2fcea7f5c8b4e Mon Sep 17 00:00:00 2001 From: Sylvain Joubert Date: Thu, 6 Feb 2020 10:58:53 +0100 Subject: [PATCH] Add begin and end keywords in the reserved names to be escaped (#310) --- scripts/ddl2cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/ddl2cpp b/scripts/ddl2cpp index b7f7f84b..113a80a7 100755 --- a/scripts/ddl2cpp +++ b/scripts/ddl2cpp @@ -312,6 +312,8 @@ nsList = namespace.split('::') def escape_if_reserved(name): reserved_names = [ + 'BEGIN', + 'END', 'GROUP', 'ORDER', ]