Skip to content

Commit

Permalink
d: remove the @Property attribute from interface Lexer
Browse files Browse the repository at this point in the history
D best practices is to not use it.

* data/skeletons/lalr1.d: Remove attribute.
  • Loading branch information
adelavais authored and akimd committed Oct 2, 2020
1 parent cd40ec9 commit 4855b98
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions data/skeletons/lalr1.d
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,18 @@ public interface Lexer
/**
* Method to retrieve the beginning position of the last scanned token.
* @@return the position at which the last scanned token starts. */
@@property ]b4_position_type[ startPos ();
]b4_position_type[ startPos ();
/**
* Method to retrieve the ending position of the last scanned token.
* @@return the first position beyond the last scanned token. */
@@property ]b4_position_type[ endPos ();
]b4_position_type[ endPos ();
]])[
/**
* Method to retrieve the semantic value of the last scanned token.
* @@return the semantic value of the last scanned token. */
@@property ]b4_yystype[ semanticVal ();
]b4_yystype[ semanticVal ();
/**
* Entry point for the scanner. Returns the token identifier corresponding
Expand Down Expand Up @@ -824,7 +824,7 @@ m4_popdef([b4_at_dollar])])dnl
private final struct YYStack {
private YYStackElement[] stack = [];
public final @@property ulong height()
public final ulong height()
{
return stack.length;
}
Expand Down

0 comments on commit 4855b98

Please sign in to comment.