@bablr/agast-helpers 0.1.2 → 0.1.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.
- package/lib/stream.js +4 -0
- package/package.json +1 -1
package/lib/stream.js
CHANGED
|
@@ -159,6 +159,8 @@ function* __generateCSTML(terminals) {
|
|
|
159
159
|
|
|
160
160
|
yield* printTerminal(terminal);
|
|
161
161
|
}
|
|
162
|
+
|
|
163
|
+
yield* '\n';
|
|
162
164
|
}
|
|
163
165
|
|
|
164
166
|
export const generateCSTML = (terminals) => new StreamIterable(__generateCSTML(terminals));
|
|
@@ -255,6 +257,8 @@ function* __generatePrettyCSTML(terminals, indent) {
|
|
|
255
257
|
|
|
256
258
|
first = false;
|
|
257
259
|
}
|
|
260
|
+
|
|
261
|
+
yield* '\n';
|
|
258
262
|
}
|
|
259
263
|
|
|
260
264
|
export const generatePrettyCSTML = (terminals, indent = ' ') => {
|