Atualização Harbour 13-12-2024
Enviado: 13 Dez 2024 08:55
Olá!
Saudações,
Itamar M. Lins Jr.
Aviso: agora o Bison 2.6 ou mais recente é necessário para regenerar arquivos de gramática
Harbour. Se alguém quiser/precisar trabalhar com versões mais antigas do bison
então é o suficiente para restaurar macros depreciadas, o compilador Harbour
e os lexers de macros funcionarão com ambas as versões.
Código: Selecionar todos
2024-12-13 09:06 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/compiler/harbour.y
* src/macro/macro.y
* replaced depreciated bison macro %pure-parser with %define api.pure
* src/compiler/complex.c
* src/macro/macrolex.c
* src/compiler/harbour.y
* src/macro/macro.y
* replaced depreciated bison macro %name-prefix with %define api.prefix
; Warning: now Bison 2.6 or newer is required to regenerate Harbour grammar
files. If someone wants/needs to work with older bison versions
then it's enough to restore depreciated macros, Harbour compiler
and macros lexers will work with both versions.
* src/compiler/harbour.yyc
* src/compiler/harbour.yyh
* src/macro/macro.yyc
* src/macro/macro.yyh
* regenerated with Bison 3.02 (the same as before)
* re-added HB_SYMBOL_UNUSED( yynerrs ) to pacify some compilers warnings
Itamar M. Lins Jr.