@malloydata/malloy 0.0.91 → 0.0.92-dev231003230104

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -67,6 +67,7 @@ class IgnoredElement extends ast.MalloyElement {
67
67
  this.malloySrc = src;
68
68
  }
69
69
  }
70
+ const DEFAULT_COMPILER_FLAGS = ['##! m4warnings'];
70
71
  /**
71
72
  * ANTLR visitor pattern parse tree traversal. Generates a Malloy
72
73
  * AST from an ANTLR parse tree.
@@ -77,11 +78,10 @@ class MalloyToAST extends AbstractParseTreeVisitor_1.AbstractParseTreeVisitor {
77
78
  this.parseInfo = parseInfo;
78
79
  this.msgLog = msgLog;
79
80
  this.compilerFlags = new tags_1.Tag();
80
- // for (const flag of DEFAULT_COMPILER_FLAGS) {
81
- // const withNewTag = Tag.fromTagline(flag, this.compilerFlags);
82
- // this.compilerFlags = withNewTag.tag;
83
- // }
84
- this.compilerFlags = new tags_1.Tag();
81
+ for (const flag of DEFAULT_COMPILER_FLAGS) {
82
+ const withNewTag = tags_1.Tag.fromTagline(flag, this.compilerFlags);
83
+ this.compilerFlags = withNewTag.tag;
84
+ }
85
85
  }
86
86
  /**
87
87
  * Mostly used to flag a case where the grammar and the type system are
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/malloy",
3
- "version": "0.0.91",
3
+ "version": "0.0.92-dev231003230104",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",