diff options
Diffstat (limited to 'src/interp/spad-parser.boot')
-rw-r--r-- | src/interp/spad-parser.boot | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/interp/spad-parser.boot b/src/interp/spad-parser.boot index 028a30b9..7e196d10 100644 --- a/src/interp/spad-parser.boot +++ b/src/interp/spad-parser.boot @@ -1,4 +1,4 @@ --- Copyright (C) 2007-2014, Gabriel Dos Reis. +-- Copyright (C) 2007-2016, Gabriel Dos Reis. -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without @@ -91,6 +91,10 @@ indentationLocation line == tabChar? line.i => loc := 8 * (loc quo 8 + 1) return loc +storeBlanks!(line,n) == + #line >= n => nil + stringChar(line,n) := char " " + skipIfBlock rs == [n,:line] := z := preparseReadLine1 rs not string? line => z |