d: change api.token.raw default value to true

Generate consecutive values for enum TokenKind, as D's yylex()
returns TokenKind and collisions can't happen.

* data/skeletons/d.m4: Change default value.
* tests/scanner.at, tests/d.at: Check it.
This commit is contained in:
Adela Vais
2020-10-03 17:01:14 +03:00
committed by Akim Demaille
parent e66673aa64
commit 7cd195b30a
4 changed files with 80 additions and 2 deletions

View File

@@ -172,6 +172,7 @@ private static immutable b4_int_type_for([$2])[[]] yy$1_ =
## ------------- ##
m4_define([b4_symbol(-2, id)], [[YYEMPTY]])
b4_percent_define_default([[api.token.raw]], [[true]])
# b4_token_enum(TOKEN-NAME, TOKEN-NUMBER)
# ---------------------------------------