replace gramamr with grammar

This commit is contained in:
Daniel Pitts 2020-02-21 19:04:10 -08:00
parent ccc79bb883
commit 0d73fc28e9
2 changed files with 3 additions and 3 deletions

View File

@ -805,7 +805,7 @@ UnicodeBOM
// lexer specification. It matches a single character of any value and being
// the last rule in the file will match when no other rule knows what to do
// about the character. It is reported as an error but is not passed on to the
// parser. This means that the parser to deal with the gramamr file anyway
// parser. This means that the parser to deal with the grammar file anyway
// but we will not try to analyse or code generate from a file with lexical
// errors.
//

View File

@ -270,7 +270,7 @@ delegateGrammars
: IMPORT delegateGrammar (COMMA delegateGrammar)* SEMI -> ^(IMPORT delegateGrammar+)
;
// A possibly named grammar file that should be imported to this gramamr
// A possibly named grammar file that should be imported to this grammar
// and delgated to for the rules it specifies
delegateGrammar
: id ASSIGN^ id
@ -725,7 +725,7 @@ labeledElement
)
;
// A block of gramamr structure optionally followed by standard EBNF
// A block of grammar structure optionally followed by standard EBNF
// notation, or ANTLR specific notation. I.E. ? + ^ and so on
ebnf
: block