Files
bison/tests
Akim Demaille 53f8e4096d diagnostics: treat obsolete %define variable names as obsolete directives
Instead of

  warning: deprecated %define variable name: 'namespace', use 'api.namespace' [-Wdeprecated]

display (in -fno-caret mode):

  warning: deprecated directive: '%define namespace foo', use '%define api.namespace foo' [-Wdeprecated]

and (in -fcaret mode):

  warning: deprecated directive, use '%define api.namespace toto' [-Wdeprecated]
   %define namespace toto
           ^^^^^^^^^

This is in preparation of cases where not only the variable is
renamed, but the values are too:

  warning: deprecated directive: '%define variant', use '%define api.value.type variant' [-Wdeprecated]

* src/muscle-tab.c (define_directive): New.
(muscle_percent_variable_update): Take the value as argument, and use it
in the diagnostics.
Loop with a pointer instead of an index.
* tests/input.at (%define backward compatibility): Adjust.
2012-12-23 10:27:40 +01:00
..
2008-11-16 19:46:16 +01:00
2012-12-14 13:58:04 +01:00
2012-10-22 12:16:33 +02:00
2012-11-28 10:51:45 +01:00
2012-12-16 10:33:42 +01:00
2012-11-05 13:13:19 +01:00
2012-12-21 16:53:57 +01:00
2012-12-14 10:57:51 +01:00
2012-10-16 15:26:55 +02:00
2012-12-23 10:23:32 +01:00
2012-12-21 16:54:02 +01:00
2012-12-23 10:23:32 +01:00
2012-12-21 16:53:57 +01:00