You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The appended files test-eol.zip contain the same minimal argument, one wir LF lineendings, one with crlf. The first works fine, the second throws a parser error:
13:36:39-Z:>argdown --version
0.9.0
13:36:44-Z:>argdown html test-lf.ad
13:36:51-Z:>argdown html test-crlf.ad
Argdown syntax errors in input: 1
At 6:8
Missing inference. Use four hyphens (----) between two numbered statements to in
sert an inference in your reconstruction and mark the latter statement as a conc
lusion.
TypeError: Cannot read property 'name' of undefined
at ArgdownTreeWalker.onArgumentStatementExit (C:\Users\gb\AppData\Roaming\np
m\node_modules\argdown-cli\node_modules\argdown-parser\lib\src\plugins\ModelPlug
in.js:735:32)
at ArgdownTreeWalker.emit (C:\Users\gb\AppData\Roaming\npm\node_modules\argd
own-cli\node_modules\eventemitter3\index.js:192:18)
at ArgdownTreeWalker.visitNode (C:\Users\gb\AppData\Roaming\npm\node_modules
\argdown-cli\node_modules\argdown-parser\lib\src\ArgdownTreeWalker.js:50:16)
at ArgdownTreeWalker.visitNode (C:\Users\gb\AppData\Roaming\npm\node_modules
\argdown-cli\node_modules\argdown-parser\lib\src\ArgdownTreeWalker.js:45:18)
at ArgdownTreeWalker.visitNode (C:\Users\gb\AppData\Roaming\npm\node_modules
\argdown-cli\node_modules\argdown-parser\lib\src\ArgdownTreeWalker.js:45:18)
at ArgdownTreeWalker.visitNode (C:\Users\gb\AppData\Roaming\npm\node_modules
\argdown-cli\node_modules\argdown-parser\lib\src\ArgdownTreeWalker.js:45:18)
at ArgdownTreeWalker.walk (C:\Users\gb\AppData\Roaming\npm\node_modules\argd
own-cli\node_modules\argdown-parser\lib\src\ArgdownTreeWalker.js:25:12)
at AsyncArgdownApplication.runAsync (C:\Users\gb\AppData\Roaming\npm\node_mo
dules\argdown-cli\lib\src\AsyncArgdownApplication.js:40:34)
at
The text was updated successfully, but these errors were encountered:
ok, found the issue. The test I had written only tested for line endings after statements outside argument reconstructions. So I overlooked those cases in the lexer. This will be fixed in the next release.
The appended files test-eol.zip contain the same minimal argument, one wir LF lineendings, one with crlf. The first works fine, the second throws a parser error:
The text was updated successfully, but these errors were encountered: