Homec4science

Minor tidying of parser_nodes script

Authored by Joshua Spence <josh@freelancer.com> on Aug 27 2015, 22:46.

Description

Minor tidying of parser_nodes script

Summary:
Various minor improvements to parser_nodes.php, including:

  • Use libphutil functions instead of vanilla PHP.
  • phtize strings.
  • Use an array instead of a heredoc for representing the nodes.

Test Plan: Ran the script and compared ouptut.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D13994

Details

Committed
Joshua Spence <josh@freelancer.com>Aug 27 2015, 22:46
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU5a0b680c82eb: Fix bison warnings
Branches
Unknown
Tags
Unknown

Event Timeline

Joshua Spence <josh@freelancer.com> committed rPHUa00d404cb723: Minor tidying of parser_nodes script (authored by Joshua Spence <josh@freelancer.com>).Aug 27 2015, 22:46