tests/test-gendoc-it.t
author Yuya Nishihara <yuya@tcha.org>
Mon, 27 Jun 2016 20:44:14 +0900
changeset 29441 9e8d258708bb
parent 28809 7a1ad08b9ff5
permissions -rw-r--r--
revset: check invalid function syntax "func-name"() explicitly Before the error was caught at func() as an unknown identifier, and the optimizer failed to detect the syntax error. This patch introduces getsymbol() helper to ensure that a string is not allowed as a function name.

#require docutils gettext

  $ $TESTDIR/check-gendoc it
  checking for parse errors