diff python/ppci/common.py @ 153:e05b2b216bfc

Added common
author Windel Bouwman
date Sat, 02 Mar 2013 09:58:31 +0100
parents
children 8104fc8b5e90
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/python/ppci/common.py	Sat Mar 02 09:58:31 2013 +0100
@@ -0,0 +1,6 @@
+
+from collections import namedtuple
+
+SourceLocation = namedtuple('SourceLocation', ['row', 'col'])
+SourceRange = namedtuple('SourceRange', ['p1', 'p2'])
+