Loading ...
Sorry, an error occurred while loading the content.

14604Re: [antlr-interest] C++ file timestamps and makefiles

Expand Messages
  • Terence Parr
    Dec 16 10:19 AM
      On Dec 16, 2004, at 8:55 AM, Bryan Ewbank wrote:

      >
      > I've noticed some strange behavior, and need confirmation. It appears
      > that ANTRL only creates C++ output files if the output file is
      > different than the previously generated file.
      >
      > For example, unless I add a new token, the *TokenTypes* files are not
      > updated. If I change the action associated with a rule, only the
      > *.cpp file is changed - the *.hpp is unchanged.
      >
      > Is this expected of ANTLR, or do I need to be looking elsewhere to
      > figure out what is going on?

      This is Ric's intended behavior (or was it Pete Wells'?), which I
      oppose, but since it's C++ cruft I let him win ;)

      In my opinion, if you run antlr, files should change if only the
      timestamp.

      Ter
      --
      CS Professor & Grad Director, University of San Francisco
      Creator, ANTLR Parser Generator, http://www.antlr.org
      Cofounder, http://www.jguru.com
      Cofounder, http://www.knowspam.net enjoy email again!
    • Show all 6 messages in this topic