lib/less/parser/parser.js
function expectChar(arg, msg) {
        if (parserInput.$char(arg)) {
            return arg;
        }
        error(msg || 'expected \'' + arg + '\' got \'' + parserInput.currentChar() + '\'');
    }
function expectChar(arg, msg) {
        if (parserInput.$char(arg)) {
            return arg;
        }
        error(msg || 'expected \'' + arg + '\' got \'' + parserInput.currentChar() + '\'');
    }
function expectChar ( arg , msg ) { if ( parserInput . $char ( arg ) ) { return arg ; } error ( msg || 'expected \'' + arg + '\' got \'' + parserInput . currentChar ( ) + '\'' ) ; }
Specialization of expect()
Specialization of expect ()