Skip to content

Commit

Permalink
fix for #83 - always push global instruction data for non-named templ…
Browse files Browse the repository at this point in the history
…ates
  • Loading branch information
pgfearo committed Aug 24, 2021
1 parent b699c2c commit 7238bac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/xslLexerLight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,8 @@ export class XslLexerLight extends XslLexer {
}
targetGlobal.push({type: globalType, name: attValue, token: tkn, idNumber: 0});
isGlobalInstructionName = false;
tagGlobalInstructionType = GlobalInstructionType.Unknown;
// fix bug where function arity was added to by following template params
//tagGlobalInstructionType = GlobalInstructionType.Unknown;
} else if (isGlobalParameterName || isGlobalUsePackageVersion) {
let attValue = tokenChars.join('');
if (this.globalInstructionData.length > 0) {
Expand Down

0 comments on commit 7238bac

Please sign in to comment.