mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-28 13:43:02 +00:00
d: examples: fix coding style
* examples/d/calc/calc.y, examples/d/simple/calc.y: Fix whitespace issues and remove the @property attribute.
This commit is contained in:
committed by
Akim Demaille
parent
5a31cda4c3
commit
4252134ba4
@@ -109,7 +109,7 @@ class CalcLexer(R) : Lexer
|
||||
|
||||
YYSemanticType semanticVal_;
|
||||
|
||||
public final @property YYSemanticType semanticVal ()
|
||||
public final YYSemanticType semanticVal()
|
||||
{
|
||||
return semanticVal_;
|
||||
}
|
||||
|
||||
@@ -104,7 +104,7 @@ class CalcLexer(R) : Lexer
|
||||
|
||||
YYSemanticType semanticVal_;
|
||||
|
||||
public final @property YYSemanticType semanticVal ()
|
||||
public final YYSemanticType semanticVal()
|
||||
{
|
||||
return semanticVal_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user