Update src/stable/lex.js

Modified match for smarttabs to ignore both single line comments and multiline comment blocks (as marked by a leading * character).
Fixed accessing left.immed without check if left is object
Fixed exprs[0].id sometimes causes undefined object error
Search for .jshintrc relative to the file being linted.

This patch updates the logic that looks for a .jshintrc file to
use to search relative to the file being linted rather than the
current working directory. If no file is found, config still
falls back to ~/.jshintrc.

This behavior should better reflect user intent when linting
files, regardless of where jshint (or the editor leveraging
it for checks) is run from. Since config lookup is now per-file
instead of per-run, the internal findFile method has been
memoized to avoid redundant searching.

References:
  Fixes GH-833
Fix crash on unbalanced parens w/ nonew. Closes GH-910
Update to fix problems with process exiting on windows

Unfortunately was not able to get the cli test working agin because of not
being able to stub the return value from process.stdout.bufferSize.
Added NPM version badge to the README

From author's email: "The badge helps your followers easily discover the NPM module associated with your Github repo.  I was wondering if you'd be interested in using this for JSHint."
Make the s optional on the falls through comment
Update to include test for buffer output problem
Added unit tests for falls through comment without an 's'
Merge branch 'master' of git://github.com/guyzmo/jshint into guyzmo-master

Conflicts:
	tests/stable/unit/parser.js
Fixes #938. Remove "esnext: true" flags from tests that should be "moz: true"

In addition to removing the erroneous flags:

- Consolidates all the esnext & moz tests into a single `isMozOrNext()` function that returns true if either flag is set.
- Allows an esnext flag to override a moz flag when both are present (the former will be a standard)
- Disallows "feature" overlap where such feature does not have the the same syntactic form across moz and esnext (eg. array comprehension syntax)

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Merge pull request #939 from rwldrn/938

Fixes #938. Remove "esnext: true" flags from tests that should be "moz: true"
added latedef_func option support.

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>
added function* support with esnext option, and errors on function* with moz option

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>
added error on generator function not containing a yield statement

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>
fixed indentation
fixed indentation
Add a test to make sure jshint does not crash if it happens to parse an html file
Merge branch 'function_generator_support'