Skip to content
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.

don't pretty-print wordpacks in gas expressions #421

Merged
merged 1 commit into from
Jun 1, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/kast.js
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ const format = (term, isRaw = false, mixFix = false, colorize = false, forSpec =
, "#dyn_length(_,_)_RULES" : "#dyn_length"
, "#dyn_size(_,_)_RULES" : "#dyn_size"
, "maxInt(_,_)_INT-COMMON" : "maxInt"
, "#WordPackUInt112UInt112UInt32(_,_,_)_RULES": "wp[112 122 32]"
, "#WordPackUInt112UInt112UInt32(_,_,_)_RULES": forSpec ? "#WordPackUInt112UInt112UInt32" : "wp[112 112 32]"
}
var label = term.label in tokenMap ? tokenMap[term.label] : term.label;
const childs = term.args.map(child => format(child, isRaw, mixFix, colorize, forSpec))
Expand Down