7e70aaddf7
Add a line and column offset to scripts so that errors and exceptions in embedded Dart scripts are reported at the proper location. New API call Dart_LoadEmbeddedScript() that allows to specify line and column offsets. Stumbled on and fixed a bug. Script::kind field was not externalized to snapshot. Review URL: https://codereview.chromium.org//11824067 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16934 260f80e4-7a28-3924-810f-c04153c831b5