@mattwca/little-parser-lib 1.0.0 → 1.0.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mattwca/little-parser-lib",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
@@ -130,16 +130,12 @@ export function label<T>(label: string, parser: ParseFn<T>): ParseFn<T> {
130
130
  return (tokenStream: TokenStream) => {
131
131
  const result = parser(tokenStream);
132
132
 
133
- console.log('label parse result:', result);
134
-
135
133
  if (isSuccessfulResult(result)) {
136
134
  return result;
137
135
  }
138
136
 
139
137
  const errorMessage = `${label}: ${result.errorMessage}`;
140
138
 
141
- console.log('labeled error message:', errorMessage);
142
-
143
139
  return {
144
140
  errorMessage,
145
141
  position: result.position,