Expressions may not end in newline.

This commit is contained in:
Roberto Abdelkader Martínez Pérez
2019-04-22 14:47:36 +02:00
parent 5619ad7905
commit fae7a4034b
+1 -1
View File
@@ -61,7 +61,7 @@ ENDPOINT = (Optional(METHOD_SPEC + Suppress(White()),
# Endpoint bodies
CODE_EP = (ENDPOINT + BODY)(name="code_ep")
PATH_EP = (ENDPOINT + '=' + SkipTo(LineEnd())(name="path") + Suppress(LineStart()))(name="path_ep")
PATH_EP = (ENDPOINT + '=' + SkipTo(LineEnd())(name="path"))(name="path_ep")
KAPOW_PROGRAM = CODE_EP | PATH_EP | COMMENT