Mojo: Mojom: Test the parser when there's no module declared.

Also make sure that it handles this differently from a missing module
name (and test that it detects that error correctly).

(And fix line number tracking/reporting in the parser....)

R=sky@chromium.org

Review URL: https://codereview.chromium.org/226983002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262254 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: b9e1e5ce024c2fd5591bd7c43ecf7d0a0211a0b9
3 files changed
tree: 025470eb086eb32bb028d980458403ac130383e9
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/