Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 8960 → Rev 8961

/kernel/trunk/asmxygen.py
1646,15 → 1646,10
value += r.step()
# Skip spaces after the value
r.skip_spaces()
# Read a comment if any
comment = ''
if r.curr() == ';':
# Skip the ';'
# Read till end of the line to get a comment from the reader
while r.curr() != '':
r.step()
# Read the comment
while r.curr() != '':
comment += r.step()
# Postprocess type
# Build the result
return AsmVariable(location, name, r.comment, var_type, value)
 
def parse_after_struct(r, as_union = True):