Files
mesa/src/mapi
Jose Fonseca b787f48ed2 glapi: Avoid argparse type argument for API XML input files.
argparse type is a nice type saver for simple data types, but it doesn't
look a good fit for the input XML file:

- Certain implementations of argparse (particularly python 2.7.3's)
  invoke the type constructor for the default argument even when an
  option is passed in the command line.  Causing `No such file or
  directory: 'gl_API.xml'` when the current dir is not
  src/mapi/glapi/gen.

- The parser takes multiple arguments.  This is currently worked around
  using lambdas, but that unnecessarily complex and hard to read.
  Furthermore it's odd to have a side-effect as heavy as parsing XML
  happening deep inside the argument parsing.

https://bugs.freedesktop.org/show_bug.cgi?id=90600

Reviewed-by: Brian Paul <brianp@vmware.com>
2015-05-26 15:26:03 +01:00
..
2014-08-18 18:25:02 -07:00
2014-08-18 18:25:29 -07:00
2015-03-05 06:59:43 -07:00
2015-03-05 06:59:43 -07:00
2015-03-05 06:59:43 -07:00
2015-03-05 06:59:43 -07:00
2015-03-04 08:33:48 -07:00
2015-03-05 06:59:43 -07:00
2015-03-04 11:01:45 +00:00
2015-03-05 06:59:43 -07:00
2015-03-04 08:33:48 -07:00
2015-03-05 06:59:43 -07:00
2015-03-04 08:33:48 -07:00
2015-03-05 06:59:43 -07:00