Menu

Poll for parseAction users

2006-02-20
2013-05-14
  • Paul McGuire

    Paul McGuire - 2006-02-20

    I'd like to remove the feature that was introduced in version 1.0.1, in which parse actions could return a modified parse location as well as a modified set of tokens.  This feature is largely disabled, but I still have code that supports the old form.

    For those of you using parse actions, do you have any that return modified tokens, or converted data?  Is anyone still (trying) to return the loc value as well?

    At the very least, I will add a DeprecationWarning message for this case in the next release.

    -- Paul

     
    • Jacek Sieka

      Jacek Sieka - 2006-05-15

      I use parse actions that return modified data (converts data to unicode from different charsets based on parsing context =) - it's very, very useful, but I don't change the loc value (as far as I know =).

       
      • Paul McGuire

        Paul McGuire - 2006-05-15

        Thanks for the response.  This feature (returning a modified loc) will be removed in 1.4.3, which I expect to release in the next couple of weeks.  Returning modified tokens will still be supported.

        -- Paul

         

Log in to post a comment.