Skip to content

Commit

Permalink
HPCGAP: sync 'make ?!. and ?![] work' changes (#5481)
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin authored Jul 31, 2023
1 parent 464ec78 commit d693b2f
Showing 1 changed file with 4 additions and 1 deletion.
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 @@ InstallGlobalFunction(SIMPLE_STRING, function(str)
# 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 @@ InstallGlobalFunction(HELP, function( str )
local origstr, nwostr, p, book, books, move, add;

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

# extract the book
Expand Down

0 comments on commit d693b2f

Please sign in to comment.