You are here

public function JSTokenizer::newSyntaxError in Javascript Aggregator 6

3 calls to JSTokenizer::newSyntaxError()
JSTokenizer::get in ./jsminplus.php
JSTokenizer::mustMatch in ./jsminplus.php
JSTokenizer::unget in ./jsminplus.php

File

./jsminplus.php, line 2072

Class

JSTokenizer

Code

public function newSyntaxError($m) {
  return new Exception('Parse error: ' . $m . ' in file \'' . $this->filename . '\' on line ' . $this->lineno);
}