1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 02:29:52 +00:00

Fixed a comment

git-svn-id: svn://svn.cc65.org/cc65/trunk@2987 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2004-04-28 09:10:23 +00:00
parent 9d9c45a1f7
commit 28eec78cad

View File

@ -3,20 +3,21 @@
; Ullrich von Bassewitz, 2003-03-07
; Based on code from Stefan A. Haubenthal, <polluks@web.de>
; 2003-05-18, Greg King
; 2004-04-28, Ullrich von Bassewitz
;
; Scan a group of arguments that are in BASIC's input-buffer.
; Build an array that points to the beginning of each argument.
; Send, to main(), that array and the count of the arguments.
;
; Command-lines look like these lines:
;
; run
; run : rem no arguments because no comma!
; run:rem,arg1," arg 2" , arg 3 ,, arg5, ...
; run : rem
; run:rem arg1 " arg 2 is quoted " arg3 "" arg5
;
; "run" and "rem" are entokenned; the args. are not. Leading and trailing
; spaces outside of quotes are ignored.
;
; "run" and "rem" are entokenned; the args. are not. Leading spaces are
; ignored; trailing spaces are included -- unless the argument was quoted.
; TO-DO:
; - The "file-name" might be a path-name; don't copy the directory-components.
; - Add a control-character quoting mechanism.
@ -133,4 +134,4 @@ name: .res NAME_LEN + 1
.data
argv: .addr name
.res MAXARGS * 2