Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HPCGAP: sync 'make ?!. and ?![] work' changes #5481

Merged
merged 1 commit into from
Jul 31, 2023
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
5 changes: 4 additions & 1 deletion hpcgap/lib/helpbase.gi
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@
# we simply list here in Position i how character i-1 should be translated
trans :=Concatenation(
"\000\>\<\c\004\005\006\007\b\t\n\013\014\r\016\017\020\021\022\023\024\025",
"\026\027\030\031\032\033\034\035\036\037 \000 &\000 *+ -./",
"\026\027\030\031\032\033\034\035\036\037 !\000 &\000 *+ -./",
"0123456789: <=>? abcd",
"efghijklmnopqrstuvwxyz[\000]^_\000abcdefghijklmnopqrstuvwxyz{ }~",
"\177\200\201\202",
Expand Down Expand Up @@ -1295,6 +1295,9 @@
local origstr, nwostr, p, book, books, move, add;

origstr := ShallowCopy(str);
while Last( origstr ) = ';' do
Remove( origstr );

Check warning on line 1299 in hpcgap/lib/helpbase.gi

View check run for this annotation

Codecov / codecov/patch

hpcgap/lib/helpbase.gi#L1299

Added line #L1299 was not covered by tests
od;
nwostr := NormalizedWhitespace(origstr);

# extract the book
Expand Down