diff options
author | Irene Knapp <ireneista@gmail.com> | 2021-01-30 00:38:22 -0800 |
---|---|---|
committer | Irene Knapp <ireneista@gmail.com> | 2021-01-30 00:38:22 -0800 |
commit | a159d4dd29491a1eb88163e63ceb41a903dc47b6 (patch) | |
tree | 954d035c57377d230385fdedc268c36b5f77e03c /src | |
parent | 90854643432c0941f22972d55559d8c2be818b32 (diff) |
don't require a newline at the end of a command line, because we've stripped that by the time it's parsed
Diffstat (limited to 'src')
-rw-r--r-- | src/commandline.lalrpop | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commandline.lalrpop b/src/commandline.lalrpop index 15af3cf..d52e741 100644 --- a/src/commandline.lalrpop +++ b/src/commandline.lalrpop @@ -1,7 +1,7 @@ grammar; pub Invocation: Vec<&'input str> = { - <WORD*> NEWLINE, + <WORD*>, }; // Several of the regexps below make use of Unicode character classes. [1] is |