From d0d982abe45cf0436b4a4c53e6276e4cc07c1d2c Mon Sep 17 00:00:00 2001 From: Ger Hobbelt Date: Mon, 30 Oct 2017 18:43:47 +0100 Subject: [PATCH] use *positive* statements in jison code generator analysis report which is included with every generated parser: this makes those reports easier to understand at a glance. --- lib/jison.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/jison.js b/lib/jison.js index ad2c1bdef..66afb9626 100755 --- a/lib/jison.js +++ b/lib/jison.js @@ -5361,8 +5361,8 @@ lrGeneratorMixin.generateModule_ = function generateModule_() { // Options: // // default action mode: ............. ${this.options.defaultActionMode.join(',')} - // no try..catch: ................... ${this.options.noTryCatch} - // no default resolve on conflict: ${this.options.noDefaultResolve} + // try..catch: ...................... ${!this.options.noTryCatch} + // default resolve on conflict: ..... ${!this.options.noDefaultResolve} // on-demand look-ahead: ............ ${this.onDemandLookahead} // error recovery token skip maximum: ${this.options.errorRecoveryTokenDiscardCount} // yyerror in parse actions is: ..... ${this.options.parserErrorsAreRecoverable ? 'recoverable' : 'NOT recoverable'},