~arankine/distcc/issue16

« back to all changes in this revision

Viewing changes to include_server/parse_file_test.py

  • Committer: Alastair Rankine
  • Date: 2011-03-02 03:28:12 UTC
  • Revision ID: alastair@girtby.net-20110302032812-jnvtyon59neii1s3
Add ability to handle n-arity function macro called with macro returning an n-tuple (where n > 1).
Move override macro handling into macro_eval instead of parse_file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
144
144
    self.assertEqual(args, ['a', 'b', 'c'])
145
145
    self.assertEqual(defn, "a + b + c")
146
146
 
147
 
    self.assertEqual(
148
 
      symbol_table['BOOST_PP_CAT'],
149
 
      [parse_file.OVERRIDE_MACROS['BOOST_PP_CAT']])
150
 
 
151
147
    self.assertEqual(parse_file_obj.Parse(
152
148
      "test_data/computed_includes.c", symbol_table),
153
149
      ([],