From f10da6e3fe5928f0d15bc71487a4591e1fb2dbff Mon Sep 17 00:00:00 2001 From: Aaron Taylor Date: Thu, 18 Jul 2019 13:35:22 -0700 Subject: [PATCH 1/1] Correcting incorrect comment in vvc related to parsing ASCII strings. --- vv_compiler.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vv_compiler.c b/vv_compiler.c index f7e9540..e53f70d 100644 --- a/vv_compiler.c +++ b/vv_compiler.c @@ -25,9 +25,9 @@ print_usage(char ** argv) ); } -/* Allows building an ASCII string on the stack. */ -/* This syntax: A"test" */ -/* Results in five PUSH_IMMEDIATE commands for the four letters and newline. */ +/* Builds an ASCII string on the stack using VVS PUSH_IMMEDIATE commands. */ +/* The syntax: A"test" results in six PUSH_IMMEDIATE commands for the four */ +/* letters, newline, and null-terminator. */ /* Expects 'input' to present a double-quoted ('"') ASCII string. */ /* The 'A' has already been chomped. */ void -- 2.20.1