(offset int, msg string)
| 1276 | } |
| 1277 | |
| 1278 | func (c *compiler) throwSyntaxError(offset int, msg string) { |
| 1279 | panic(&CompilerSyntaxError{ |
| 1280 | CompilerError: CompilerError{ |
| 1281 | File: c.p.src, |
| 1282 | Offset: offset, |
| 1283 | Message: msg, |
| 1284 | }, |
| 1285 | }) |
| 1286 | } |
| 1287 | |
| 1288 | func (c *compiler) throwSyntaxErrorf(offset int, format string, args ...interface{}) { |
| 1289 | panic(&CompilerSyntaxError{ |
no outgoing calls
no test coverage detected