-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix sort declaration unparsing (#2767)
* pyk/test_pretty_print_kast: add failing test of sort declaration * pyk/ktool/kprint: fix bug in printing KProduction * pyk/: rename prettyPrintKast => pretty_print_kast * pyk/ktool/kprint: rename variables using new convention * pyk/ktool/kprint: add test of failing sort declaration with an attribute * pyk/kprint: another test of unparsing productions
- Loading branch information
Showing
4 changed files
with
95 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
from .kompile import KompileBackend, kompile | ||
from .kprint import ( | ||
KPrint, | ||
appliedLabelStr, | ||
applied_label_str, | ||
build_symbol_table, | ||
indent, | ||
paren, | ||
prettyPrintKast, | ||
prettyPrintKastBool, | ||
pretty_print_kast, | ||
unparser_for_production, | ||
) | ||
from .kprove import KProve, kprove |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters