Treehydra: Difference between revisions

 
Line 9: Line 9:


Emacs regexp to convert GTYs to attributes:
Emacs regexp to convert GTYs to attributes:
  ^\(typedef \)?\(struct\) \([^ ]+\) \(GTY[^{]+\) -> \1\2 \4 \3)
  ^\(typedef \)?\(struct\|union\) \([^ ]+\) \( *GTY[^{^J]+\) -> \1\2 \4 \3
where ^J is C-q C-j


===treehydra===
===treehydra===
Confirmed users
381

edits