Post Reply 
(free42) PGM Copy/Paste and @
03-20-2018, 02:40 PM (This post was last modified: 03-20-2018 02:44 PM by Thomas Okken.)
Post: #4
RE: (free42) PGM Copy/Paste and @
I've come across listings where there is white space before line numbers, so I wrote the parser to be tolerant of that.

Regarding tabs, that sounds like the code that looks for the end of a command should be more lenient. Right now it accepts spaces and line breaks, but apparently not tabs. Also note that commands with string arguments are handled differently -- see my previous post -- so it's plausible that tab treatment is inconsistent across the different code paths.

N.B. Keep the suggestions coming in this thread. I'm on vacation right now so no code changes will happen right away, but when I do revisit the program parser, I'll check this thread for problems and suggestions.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
(free42) PGM Copy/Paste and @ - Werner - 03-20-2018, 10:03 AM
RE: (free42) PGM Copy/Paste and @ - Werner - 03-20-2018, 01:50 PM
RE: (free42) PGM Copy/Paste and @ - Thomas Okken - 03-20-2018 02:40 PM
RE: (free42) PGM Copy/Paste and @ - Werner - 03-20-2018, 03:06 PM
RE: (free42) PGM Copy/Paste and @ - Werner - 03-21-2018, 04:09 PM

User(s) browsing this thread: 1 Guest(s)