From 634b2c1b69b9cc107546b12e710fc2daec53fcec Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Thu, 7 Mar 2024 23:48:04 -0700 Subject: minor bug fixes --- src/interpreter/PeggyParser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/interpreter/PeggyParser.js') diff --git a/src/interpreter/PeggyParser.js b/src/interpreter/PeggyParser.js index 632f1b7..5671d91 100644 --- a/src/interpreter/PeggyParser.js +++ b/src/interpreter/PeggyParser.js @@ -201,7 +201,7 @@ export default (function () { ); }; - function peg$parse(input, options, allowUnderscores = false) { + function peg$parse(input, options) { options = options !== undefined ? options : {}; var peg$FAILED = {}; @@ -215,7 +215,7 @@ export default (function () { var peg$c2 = "."; var peg$c3 = "\r\n"; - var peg$r0 = allowUnderscores ? /^[a-zA-Z0-9]_/ : /^[a-zA-Z0-9]/; + var peg$r0 = /^[a-zA-Z0-9]/; var peg$r1 = /^[\\\u03BB]/; var peg$r2 = /^[\t-\n ]/; -- cgit v1.2.3-70-g09d2