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

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

Expand Messages
  • Ric Klaren
    Dec 16, 2004
    • 0 Attachment
      Hi,

      On Thu, 16 Dec 2004 11:55:10 -0500, Bryan Ewbank <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?

      It's what I expect/made to prevent unnecessary rebuilds. E.g. if you
      only change actions in a .g file only the .cpp file is touched. All
      set up for minimal builds.

      Cheers,

      Ric
    • Show all 6 messages in this topic