diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2013-01-25 22:42:11 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2013-01-25 22:42:11 +0200 |
commit | 5269885f16867330f9655316bfb64b631782342f (patch) | |
tree | 92f925fded309e33b5be8dc5765491f33d2873ef /nodes.py | |
parent | d5c50ce60afc49bde361455fddc9b030ded72ffa (diff) | |
download | meson-5269885f16867330f9655316bfb64b631782342f.zip meson-5269885f16867330f9655316bfb64b631782342f.tar.gz meson-5269885f16867330f9655316bfb64b631782342f.tar.bz2 |
Added array support.
Diffstat (limited to 'nodes.py')
-rw-r--r-- | nodes.py | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -99,6 +99,14 @@ class Comparison(Statement): def get_second(self): return self.second +class ArrayStatement(Statement): + def __init__(self, args, lineno): + Statement.__init__(self, lineno) + self.args = args + + def get_args(self): + return self.args + class StringStatement(Statement): def __init__(self, value, lineno): assert(type(value) == type('')) |