Skip to content
Snippets Groups Projects
Commit 9883a543 authored by Sven M. Hallberg's avatar Sven M. Hallberg
Browse files

revert parse_xrefs to its original signature

Passing the aux struct by reference may look cleaner, but it was
deliberate to keep parse_xrefs() independent of that struct, since the
latter is conceptually part of the parser's interface and the former is
not.

Also, this way parse_xrefs() has a proper return value that signals
success or failure.

Plus, no ugly indirection or temporary variable is needed to access sz.
parent 81dc4dba
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment