summary refs log tree commit diff
path: root/src/commandline.lalrpop
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@gmail.com>2021-01-30 00:38:22 -0800
committerIrene Knapp <ireneista@gmail.com>2021-01-30 00:38:22 -0800
commita159d4dd29491a1eb88163e63ceb41a903dc47b6 (patch)
tree954d035c57377d230385fdedc268c36b5f77e03c /src/commandline.lalrpop
parent90854643432c0941f22972d55559d8c2be818b32 (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/commandline.lalrpop')
-rw-r--r--src/commandline.lalrpop2
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