Removes some commas from grammar file.
This commit is contained in:
parent
3fb07fd710
commit
911be3f2ed
12
grammar.ebnf
12
grammar.ebnf
|
@ -17,13 +17,13 @@ binary_digit ::= '0' | '1';
|
|||
|
||||
character ::= letter | digit | '_' ;
|
||||
|
||||
identifier ::= (letter | '_'), { character };
|
||||
identifier ::= (letter | '_') { character };
|
||||
|
||||
float ::= digit { digit }, '.', digit, {digit};
|
||||
dec_integer ::= ['0D' | '0d'], digit, {digit};
|
||||
hex_integer ::= ('0X'|'0x'), hexadecimal_digit, {hexadecimal_digit};
|
||||
octal_integer ::= ('0O'|'0o'), octal_digit, {octal_digit};
|
||||
binary_integer ::= ('0B'|'0b'), binary_digit, {binary_digit};
|
||||
float ::= digit { digit } '.' digit {digit};
|
||||
dec_integer ::= ['0D' | '0d'] digit {digit};
|
||||
hex_integer ::= ('0X'|'0x') hexadecimal_digit {hexadecimal_digit};
|
||||
octal_integer ::= ('0O'|'0o') octal_digit {octal_digit};
|
||||
binary_integer ::= ('0B'|'0b') binary_digit {binary_digit};
|
||||
integer ::= dec_integer | hex_integer | octal_integer | binary_integer;
|
||||
number ::= integer | float;
|
||||
|
||||
|
|
Loading…
Reference in New Issue