nac3parser: add comment support #68

Merged
pca006132 merged 6 commits from with_nac3comment into master 2021-11-05 20:46:42 +08:00
Collaborator

Contains the changes to support nac3 comment.

The prefix nac3: is hard coded into the parser code. Comments with correct indentation on the above and the right of the statement to be commented are supported.

The updated ast includes the nac3 comments by adding a field config_comment to each of the StmtKind ast node.

Contains the changes to support nac3 comment. The prefix ` nac3:` is hard coded into the parser code. Comments with correct indentation on the above and the right of the statement to be commented are supported. The updated ast includes the nac3 comments by adding a field `config_comment` to each of the `StmtKind` ast node.
ychenfo force-pushed with_nac3comment from 39c5d171a7 to 032e1d84cf 2021-11-04 15:05:08 +08:00 Compare
ychenfo added 1 commit 2021-11-05 20:01:36 +08:00
pca006132 added 1 commit 2021-11-05 20:46:30 +08:00
pca006132 merged commit 1fea51d9b3 into master 2021-11-05 20:46:42 +08:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/nac3#68
There is no content yet.