mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
Fix misspellings
This commit is contained in:
@@ -246,7 +246,7 @@ parser.yy = require './nodes'
|
||||
|
||||
# Override Jison's default error handling function.
|
||||
parser.yy.parseError = (message, {token}) ->
|
||||
# Disregard Jison's message, it contains redundant line numer information.
|
||||
# Disregard Jison's message, it contains redundant line number information.
|
||||
# Disregard the token, we take its value directly from the lexer in case
|
||||
# the error is caused by a generated token which might refer to its origin.
|
||||
{errorToken, tokens} = parser
|
||||
|
||||
@@ -1541,7 +1541,7 @@ exports.Code = class Code extends Base
|
||||
|
||||
#### Param
|
||||
|
||||
# A parameter in a function definition. Beyond a typical Javascript parameter,
|
||||
# A parameter in a function definition. Beyond a typical JavaScript parameter,
|
||||
# these parameters can also attach themselves to the context of the function,
|
||||
# as well as be a splat, gathering up a group of parameters into an array.
|
||||
exports.Param = class Param extends Base
|
||||
|
||||
Reference in New Issue
Block a user