Skip to content

Commit

Permalink
working on zaach/jison-lex#20 / zaach#341: pass parser analysis info …
Browse files Browse the repository at this point in the history
…bits to the lexer compiler using better names, so they are confused once in there.
  • Loading branch information
GerHobbelt committed Mar 27, 2017
1 parent 4cf5a5c commit 1142438
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
34 changes: 17 additions & 17 deletions lib/jison.js
Original file line number Diff line number Diff line change
Expand Up @@ -572,23 +572,23 @@ generator.constructor = function Jison_Generator(grammar, optionalLexerSection,
//
// (this stuff comes straight from the jison Optimization Analysis.)
//
actionsAreAllDefault: this.actionsAreAllDefault,
actionsUseYYLENG: this.actionsUseYYLENG,
actionsUseYYLINENO: this.actionsUseYYLINENO,
actionsUseYYTEXT: this.actionsUseYYTEXT,
actionsUseYYLOC: this.actionsUseYYLOC,
actionsUseParseError: this.actionsUseParseError,
actionsUseYYERROR: this.actionsUseYYERROR,
actionsUseYYERROK: this.actionsUseYYERROK,
actionsUseYYCLEARIN: this.actionsUseYYCLEARIN,
actionsUseValueTracking: this.actionsUseValueTracking,
actionsUseValueAssignment: this.actionsUseValueAssignment,
actionsUseLocationTracking: this.actionsUseLocationTracking,
actionsUseLocationAssignment: this.actionsUseLocationAssignment,
actionsUseYYSTACK: this.actionsUseYYSTACK,
actionsUseYYSSTACK: this.actionsUseYYSSTACK,
actionsUseYYSTACKPOINTER: this.actionsUseYYSTACKPOINTER,
hasErrorRecovery: this.hasErrorRecovery,
parseActionsAreAllDefault: this.actionsAreAllDefault,
parseActionsUseYYLENG: this.actionsUseYYLENG,
parseActionsUseYYLINENO: this.actionsUseYYLINENO,
parseActionsUseYYTEXT: this.actionsUseYYTEXT,
parseActionsUseYYLOC: this.actionsUseYYLOC,
parseActionsUseParseError: this.actionsUseParseError,
parseActionsUseYYERROR: this.actionsUseYYERROR,
parseActionsUseYYERROK: this.actionsUseYYERROK,
parseActionsUseYYCLEARIN: this.actionsUseYYCLEARIN,
parseActionsUseValueTracking: this.actionsUseValueTracking,
parseActionsUseValueAssignment: this.actionsUseValueAssignment,
parseActionsUseLocationTracking: this.actionsUseLocationTracking,
parseActionsUseLocationAssignment: this.actionsUseLocationAssignment,
parseActionsUseYYSTACK: this.actionsUseYYSTACK,
parseActionsUseYYSSTACK: this.actionsUseYYSSTACK,
parseActionsUseYYSTACKPOINTER: this.actionsUseYYSTACKPOINTER,
parserHasErrorRecovery: this.hasErrorRecovery,

// and re-use any useful options:
moduleType: this.options.moduleType,
Expand Down
2 changes: 1 addition & 1 deletion modules/jison-lex

0 comments on commit 1142438

Please sign in to comment.