aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorPaul Eggert <[email protected]>2014-01-15 22:24:06 -0800
committerPaul Eggert <[email protected]>2014-01-15 22:24:06 -0800
commitc91c771dbe242cd942c00a0a57c18c1482e59fa0 (patch)
treeabb6fcaf49f4bda5eda2443fb5a6f7531a8a2a74 /admin
parent7da02a6769e84cd0a9df8b1bc18ac78df1c0b058 (diff)
Spelling fixes.
Diffstat (limited to 'admin')
-rw-r--r--admin/grammars/grammar.wy2
-rw-r--r--admin/grammars/js.wy8
2 files changed, 5 insertions, 5 deletions
diff --git a/admin/grammars/grammar.wy b/admin/grammars/grammar.wy
index a772c21236..4605e3c4f7 100644
--- a/admin/grammars/grammar.wy
+++ b/admin/grammars/grammar.wy
@@ -94,7 +94,7 @@
%token <open-paren> LBRACE "{"
%token <close-paren> RBRACE "}"
-;; Punctuations
+;; Punctuation
%type <punctuation>
%token <punctuation> COLON ":"
%token <punctuation> SEMI ";"
diff --git a/admin/grammars/js.wy b/admin/grammars/js.wy
index a01d64ec09..91dbff2330 100644
--- a/admin/grammars/js.wy
+++ b/admin/grammars/js.wy
@@ -65,7 +65,7 @@
(start end &optional nonterminal depth returnonerror))
}
-;; JAVE I prefere ecmascript-mode
+;; JAVE I preferred ecmascript-mode.
%languagemode ecmascript-mode javascript-mode
;; The default goal
@@ -276,8 +276,8 @@ Statement : Block
| BreakStatement
| ReturnStatement
| WithStatement
- ;
-
+ ;
+
FunctionDeclaration : FUNCTION VARIABLE FormalParameterListBlock Block
(FUNCTION-TAG $2 nil $3)
;
@@ -353,7 +353,7 @@ IterationExpression : WHILE OPEN_PARENTHESIS Expression CLOSE_PARENTHESIS Statem
ContinueStatement : CONTINUE SEMICOLON
;
-;;JAVE break needs labels
+;;JAVE break needs labels
BreakStatement : BREAK SEMICOLON
;; | BREAK identifier SEMICOLON
;