#12 Square brackets [[]] in %{%} not copied verbatim

closed-fixed
John43
5
2006-03-21
2006-03-21
Anonymous
No

Hi,

This seems to work correctly in flex 2.5.4, but not
2.5.33, so it may be a regression.

If you have the input file:

%{
This [should [be]] verbatim.
%}
%%

Flex 2.5.33 produces:

...
This [should [be verbatim.
#line 453 "lex.yy.c"
]]
...

Are the double closing brackets supposed to migrate
like that?

Discussion

  • John43
    John43
    2006-03-21

    Logged In: YES
    user_id=335409

    Already fixed. Please grab latest CVS. I should add a test
    for this.

     
  • John43
    John43
    2006-03-21

    • status: open --> closed-fixed
     
  • Mike Frysinger
    Mike Frysinger
    2006-04-01

    Logged In: YES
    user_id=114429

    could you indicate where the fix is so i can pull it for use
    in Gentoo ? this error breaks the detex package ...

     
  • John43
    John43
    2006-04-01

    Logged In: YES
    user_id=335409

    Click the "CVS" link at the top of this screen, and follow
    the instructions there. Our repository is named "flex".

     
  • Mike Frysinger
    Mike Frysinger
    2006-04-01

    Logged In: YES
    user_id=114429

    i didnt mean where is the CVS repo, i meant where in the
    flex source code base is the fix :p

     
  • Logged In: NO

    doxygen and flex-cvs doesn't work!