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

Recognize pragma fields #3

Open
Roald87 opened this issue May 10, 2020 · 2 comments
Open

Recognize pragma fields #3

Roald87 opened this issue May 10, 2020 · 2 comments
Labels
core Issues related to TcBlackCore enhancement New feature or request

Comments

@Roald87
Copy link
Owner

Roald87 commented May 10, 2020

E.g. nVar : INT; {info 'TODO: should get another name'}

@Roald87 Roald87 added this to the Version 0.2 milestone May 10, 2020
@Roald87 Roald87 added the enhancement New feature or request label Jun 14, 2020
@Roald87 Roald87 modified the milestones: Version 0.2, Version 0.3 Jun 14, 2020
@Roald87 Roald87 modified the milestones: Version 0.3, Version 0.2.1 Aug 22, 2020
@SankariNL
Copy link
Contributor

SankariNL commented Mar 29, 2021

I think this can be done first by recognizing a pragma (https://infosys.beckhoff.com/english.php?content=../content/1033/tc3_plc_intro/2526889867.html&id=4368271537662055795)

Then this can be split into the following categories:

  • Message
  • Attribute
  • Conditional
  • Region

@Roald87
Copy link
Owner Author

Roald87 commented Apr 2, 2021

Hi @SankariNL. Thanks for your input! I actually meant pragmas. Didn't realize attributes were a subclass of the pragmas :p.

I'm not sure if it would also be useful to recognize the exact pragma category. For the initial implementation it would certainly be enough to recognize a pragma.

@Roald87 Roald87 changed the title Recognize attribute fields Recognize pragma fields Apr 2, 2021
@Roald87 Roald87 added core Issues related to TcBlackCore enhancement New feature or request and removed enhancement New feature or request labels Apr 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Issues related to TcBlackCore enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants