mirror of
https://github.com/Ratstail91/sineQL.git
synced 2025-11-29 10:44:28 +11:00
I remember why I stopped working on this, read more
it's because the query parser is impossible to understand, and the handlers are too long for this to be usable. It's a nice idea, but I can't do this while drinking.
This commit is contained in:
@@ -13,7 +13,7 @@ const parseInput = (body, allowStrings, options) => {
|
||||
|
||||
case '"': {
|
||||
if (!allowStrings) {
|
||||
throw 'Can\'t lex strings';
|
||||
throw 'Can\'t parse strings';
|
||||
}
|
||||
|
||||
const start = current;
|
||||
@@ -50,4 +50,4 @@ const parseInput = (body, allowStrings, options) => {
|
||||
return tokens;
|
||||
};
|
||||
|
||||
module.exports = parseInput;
|
||||
module.exports = parseInput;
|
||||
|
||||
Reference in New Issue
Block a user