merge the formfield patch from ooo-build
[ooovba.git] / toolkit / src2xml / source / macroparser_test.py
bloba7064832d1f8f1ad41992b7a2711a442df45a6e6
1 #!/usr/bin/env python
3 import macroparser
5 def runParser (buf):
6 mparser = macroparser.MacroParser(buf)
7 mparser.debug = True
8 mparser.parse()
10 def main ():
11 buf = 'FOO (asdfsdaf)'
12 runParser(buf)
13 buf = 'FOO (x, y) (x) + (y)'
14 runParser(buf)
15 buf = 'FOO(x, y) (x) + (y)'
16 runParser(buf)
19 if __name__ == '__main__':
20 main()