|
|
@ -1,7 +1,7 @@ |
|
|
|
import sys, re |
|
|
|
import sys, re |
|
|
|
|
|
|
|
|
|
|
|
# @for <var>, <begin>, <end> |
|
|
|
# @for <var>, <begin>, <end> |
|
|
|
RE_FOR = re.compile(r'@for\s+(\w+)\s*,\s*([^ ]+)\s*,\s*([^ ]+)') |
|
|
|
RE_FOR = re.compile(r'@for\s+(\w+)\s*,\s*([^,]+)\s*,\s*([^,]+)') |
|
|
|
# $(<exp>) |
|
|
|
# $(<exp>) |
|
|
|
RE_VAL = re.compile(r'\$\(([^)]+)\)') |
|
|
|
RE_VAL = re.compile(r'\$\(([^)]+)\)') |
|
|
|
# @define <var>=<exp> |
|
|
|
# @define <var>=<exp> |
|
|
|