[ 
https://issues.apache.org/jira/browse/TS-2108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leif Hedstrom updated TS-2108:
------------------------------

    Fix Version/s: 3.5.0
         Assignee: Alan M. Carroll
    
> TsConfig doesn't build with bison 3.0
> -------------------------------------
>
>                 Key: TS-2108
>                 URL: https://issues.apache.org/jira/browse/TS-2108
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core
>            Reporter: James Peach
>            Assignee: Alan M. Carroll
>             Fix For: 3.5.0
>
>
> With bison 3.0, the generated code has changes such that BisonHeaderToC.sed 
> no longer edits the generated header correctly.
> TsConfigGrammar ends up looking like this:
> {code}
> namespace ts { namespace config {
> enum TokenType {
>   {
>     STRING = 258,
>     IDENT = 259,
>     INTEGER = 260,
>     LIST_OPEN = 261,
>     LIST_CLOSE = 262,
>     GROUP_OPEN = 263,
>     GROUP_CLOSE = 264,
>     PATH_OPEN = 265,
>     PATH_CLOSE = 266,
>     PATH_SEPARATOR = 267,
>     SEPARATOR = 268,
>     ASSIGN = 269
>   };
> }} // namespace ts::config
> {code}
> Maybe a more robust solution would be to include the generated header into 
> another file that does the namespace.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to