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

Fails to parse property that is both default and deprecated #138

Open
michaliskambi opened this issue Feb 11, 2022 · 0 comments
Open

Fails to parse property that is both default and deprecated #138

michaliskambi opened this issue Feb 11, 2022 · 0 comments

Comments

@michaliskambi
Copy link
Collaborator

The attached unit compiles OK:

$ fpc -Mobjfpc a.pas
Free Pascal Compiler version 3.2.0-r45643 [2020/08/24] for x86_64
Copyright (c) 1993-2020 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling a.pas
24 lines compiled, 0.0 sec

But it fails to be parsed by latest PasDoc:

$ pasdoc a.pas
PasDoc 0.16.0 [2021-02-07|FPC 3.2.2|Linux|64]
Documentation generator for Pascal source

This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Info[1]:    Starting Source File Parsing ...
Info[2]:    Now parsing file a.pas...
Warning[2]: Error EPasDoc: a.pas(10): One of symbols "," or ":" expected while parsing unit a.pas, continuing...
Info[2]:    ... 1 Source File(s) parsed
Fatal Error: EPasDoc: At least one unit must have been successfully parsed to write docs

a.pas.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant