@retorquere/bibtex-parser 7.0.6 → 7.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/grammar.js +5 -2
- package/index.js +3 -0
- package/package.json +1 -1
package/grammar.js
CHANGED
|
@@ -225,7 +225,7 @@ function peg$parse(input, options) {
|
|
|
225
225
|
var peg$r15 = /^[ij]/;
|
|
226
226
|
var peg$r16 = /^[^\r\n]/;
|
|
227
227
|
var peg$r17 = /^[_\^]/;
|
|
228
|
-
var peg$r18 = /^[^A-Za-z0-9\t\r\n]/;
|
|
228
|
+
var peg$r18 = /^[^A-Za-z0-9[\]\t\r\n]/;
|
|
229
229
|
var peg$r19 = /^[A-Za-z]/;
|
|
230
230
|
var peg$r20 = /^[^\]]/;
|
|
231
231
|
var peg$r21 = /^[^ \t\^_${}\\]/;
|
|
@@ -276,7 +276,7 @@ function peg$parse(input, options) {
|
|
|
276
276
|
var peg$e36 = peg$literalExpectation("\r", false);
|
|
277
277
|
var peg$e37 = peg$literalExpectation("\n", false);
|
|
278
278
|
var peg$e38 = peg$classExpectation(["_", "^"], false, false);
|
|
279
|
-
var peg$e39 = peg$classExpectation([["A", "Z"], ["a", "z"], ["0", "9"], "\t", "\r", "\n"], true, false);
|
|
279
|
+
var peg$e39 = peg$classExpectation([["A", "Z"], ["a", "z"], ["0", "9"], "[", "]", "\t", "\r", "\n"], true, false);
|
|
280
280
|
var peg$e40 = peg$literalExpectation("newcommand", false);
|
|
281
281
|
var peg$e41 = peg$literalExpectation("url", false);
|
|
282
282
|
var peg$e42 = peg$literalExpectation("href", false);
|
|
@@ -4665,6 +4665,7 @@ function peg$parse(input, options) {
|
|
|
4665
4665
|
bibstring: 1,
|
|
4666
4666
|
chsf: 1,
|
|
4667
4667
|
cite: 1,
|
|
4668
|
+
citeauthor: 1,
|
|
4668
4669
|
cyrchar: 1,
|
|
4669
4670
|
ding: 1,
|
|
4670
4671
|
emph: 1,
|
|
@@ -4689,11 +4690,13 @@ function peg$parse(input, options) {
|
|
|
4689
4690
|
subsubsubsection: 1,
|
|
4690
4691
|
t: 1,
|
|
4691
4692
|
textbf: 1,
|
|
4693
|
+
textcite: 1,
|
|
4692
4694
|
textit: 1,
|
|
4693
4695
|
textrm: 1,
|
|
4694
4696
|
textsc: 1,
|
|
4695
4697
|
textsubscript: 1,
|
|
4696
4698
|
textsuperscript: 1,
|
|
4699
|
+
textup: 1,
|
|
4697
4700
|
texttt: 1,
|
|
4698
4701
|
url: 1,
|
|
4699
4702
|
vphantom: 1,
|
package/index.js
CHANGED