@bablr/cli 0.11.2 → 0.11.3

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.
Files changed (2) hide show
  1. package/lib/syntax.js +5 -1
  2. package/package.json +1 -1
package/lib/syntax.js CHANGED
@@ -69,7 +69,10 @@ function* __higlightStrategy(tags) {
69
69
  } else if (tagName === Symbol.for('EscapeSequence')) {
70
70
  yield buildAnsiPushEffect('bold cyan');
71
71
  } else if (tagName === Symbol.for('Identifier')) {
72
- if (currentName === Symbol.for('ReferenceTag')) {
72
+ if (
73
+ currentName === Symbol.for('ReferenceTag') ||
74
+ currentName === Symbol.for('ReferenceMatcher')
75
+ ) {
73
76
  yield buildAnsiPushEffect('bold gray');
74
77
  } else if (currentName === Symbol.for('Call')) {
75
78
  yield buildAnsiPushEffect('magenta bold');
@@ -92,6 +95,7 @@ function* __higlightStrategy(tags) {
92
95
  } else if (tagName === null && tag.value.flags.token) {
93
96
  if (
94
97
  currentName === Symbol.for('ReferenceTag') ||
98
+ currentName === Symbol.for('ReferenceMatcher') ||
95
99
  currentName === Symbol.for('ReferenceFlags')
96
100
  ) {
97
101
  yield buildAnsiPushEffect('bold gray');
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bablr/cli",
3
3
  "description": "CLI for running BABLR parsers",
4
- "version": "0.11.2",
4
+ "version": "0.11.3",
5
5
  "author": "Conrad Buck<conartist6@gmail.com>",
6
6
  "type": "module",
7
7
  "files": [