mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-20 01:33:03 +00:00
d: remove useless imports
* examples/d/calc.y, tests/calc.at: here.
This commit is contained in:
@@ -3,11 +3,6 @@
|
|||||||
%define api.parser.class {Calc}
|
%define api.parser.class {Calc}
|
||||||
%define parse.error verbose
|
%define parse.error verbose
|
||||||
|
|
||||||
%code imports {
|
|
||||||
import std.ascii;
|
|
||||||
import std.stdio;
|
|
||||||
}
|
|
||||||
|
|
||||||
%union {
|
%union {
|
||||||
int ival;
|
int ival;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -336,8 +336,6 @@ AT_DATA_GRAMMAR([calc.y],
|
|||||||
]AT_CXX_IF([%define global_tokens_and_yystype])[
|
]AT_CXX_IF([%define global_tokens_and_yystype])[
|
||||||
]AT_D_IF([[
|
]AT_D_IF([[
|
||||||
%code imports {
|
%code imports {
|
||||||
import std.ascii;
|
|
||||||
import std.stdio;
|
|
||||||
alias semantic_value = int;
|
alias semantic_value = int;
|
||||||
}
|
}
|
||||||
]], [[
|
]], [[
|
||||||
|
|||||||
Reference in New Issue
Block a user