Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

リストのパースの仕様がおかしい #94

Closed
abap34 opened this issue Apr 29, 2024 · 1 comment · Fixed by #95
Closed

リストのパースの仕様がおかしい #94

abap34 opened this issue Apr 29, 2024 · 1 comment · Fixed by #95
Assignees
Labels
bug Something isn't working parser

Comments

@abap34
Copy link
Owner

abap34 commented Apr 29, 2024

- aaa
a

のような入力を与えると配列外参照でエラーになる

@abap34 abap34 added bug Something isn't working parser labels Apr 29, 2024
@abap34
Copy link
Owner Author

abap34 commented Apr 29, 2024

https://github.com/abap34/ALMO/blob/34f37c2b0500e7d083ec047d082b5838be65e82c/src/parse.hpp#L458-L470

この辺りで、継続行がインデントしているのが前提なのが原因。

@abap34 abap34 self-assigned this Apr 30, 2024
abap34 added a commit that referenced this issue Apr 30, 2024
リストの文を継続するときにインデントが不要なように変更
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working parser
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant