Skip to content

Commit 31c6c9b

Browse files
committed
Revision 0.9.5
1 parent 4452de8 commit 31c6c9b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/compile/func/func.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ function FromConst(options: Options, name: string, value: string): string {
8787
// ------------------------------------------------------------------
8888
function FromUntil(options: Options, name: string, values: string[]): string {
8989
const escaped = values.map(value => `'${Escape(value)}'`)
90-
return `Runtime.Token.Until(${escaped.join(', ')}, input)`
90+
return `Runtime.Token.Until([${escaped.join(', ')}], input)`
9191
}
9292
// ------------------------------------------------------------------
9393
// Ident

src/compile/type/type.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function FromConst(options: Options, name: string, value: string): string {
8989
// ------------------------------------------------------------------
9090
function FromUntil(options: Options, name: string, values: string[]): string {
9191
const escaped = values.map(value => `'${Escape(value)}'`)
92-
return `Static.Token.Until<${escaped.join(', ')}, Input>`
92+
return `Static.Token.Until<[${escaped.join(', ')}], Input>`
9393
}
9494
// ------------------------------------------------------------------
9595
// Ident

tasks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Task.run('build', () => Task.build('src', {
3434
packageJson: {
3535
name: '@sinclair/parsebox',
3636
description: 'Parser Combinators in the TypeScript Type System',
37-
version: '0.9.4',
37+
version: '0.9.5',
3838
keywords: ['typescript', 'parser', 'combinator'],
3939
license: 'MIT',
4040
author: 'sinclairzx81',

0 commit comments

Comments
 (0)