Commit 53e359fa authored by gaurav's avatar gaurav

fixing warnings in mem.py

parent bfd8bf5b
import re import re
import fn
import keywords import keywords
TARGET_BITWIDTH = 32 TARGET_BITWIDTH = 32
...@@ -43,7 +42,7 @@ def resolveMEM(mem,func,lhs): ...@@ -43,7 +42,7 @@ def resolveMEM(mem,func,lhs):
varHash = func.getVars() varHash = func.getVars()
re_memsplit=re.compile('\w+: [^,|^\]]+'); #('\w+: [\w|\.]+') re_memsplit=re.compile('\w+: [^,|^\]]+'); #('\w+: [\w|\.]+')
re_tokensplit=re.compile(': '); re_tokensplit=re.compile(': ');
re_plus=re.compile('\+\s*(\([\w\s]+\))?'); # re_plus=re.compile('\+\s*(\([\w\s]+\))?');
re_cast=re.compile('\s*\([\w\s]+\)') re_cast=re.compile('\s*\([\w\s]+\)')
mem_components={}; mem_components={};
# resolve type # resolve type
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment