diff --git a/pegjs/redshift.pegjs b/pegjs/redshift.pegjs index 24271db1..29d3b6cc 100644 --- a/pegjs/redshift.pegjs +++ b/pegjs/redshift.pegjs @@ -97,6 +97,10 @@ 'PERSIST_ONLY': true, }; + function getLocationObject() { + return options.includeLocations ? {loc: location()} : {} + } + function createUnaryExpr(op, e) { return { type: 'unary_expr',