1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

.gdbinit: op symbols [ci skip]

* .gdbinit (rp_id): add unhandled operator symbols.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2017-01-25 06:05:50 +00:00
parent 26270bd243
commit 0da52e5626

View file

@ -335,6 +335,9 @@ define rp_id
if $id == idLTLT
printf "(:<<)\n"
else
if $id == idGTGT
printf "(:>>)\n"
else
if $id == idLE
printf "(:<=)\n"
else
@ -361,6 +364,18 @@ define rp_id
else
if $id == idASET
printf "(:[]=)\n"
else
if $id == idCOLON2
printf "(:'::')\n"
else
if $id == idANDOP
printf "(:&&)\n"
else
if $id == idOROP
printf "(:||)\n"
else
if $id == idANDDOT
printf "(:&.)\n"
else
if $id <= tLAST_OP_ID
printf "O"
@ -416,6 +431,11 @@ define rp_id
end
end
end
end
end
end
end
end
end
document rp_id
Print an ID.