changeset 235:cc1260872322

Fix printing of function/method calls in parser module
author Michael Pavone <pavone@retrodev.com>
date Fri, 03 Jan 2014 19:25:40 -0800
parents 370e03964239
children c463a891ccd3
files modules/parser.tp
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/modules/parser.tp	Fri Jan 03 19:23:47 2014 -0800
+++ b/modules/parser.tp	Fri Jan 03 19:25:40 2014 -0800
@@ -703,6 +703,10 @@
 							curArgs <- curArgs tail
 						}
 					}
+					while: { not: (curArgs empty?) } do: {
+						str <- str . " " . (curArgs value)
+						curArgs <- curArgs tail
+					}
 					str
 				}
 			}
@@ -742,6 +746,10 @@
 						curArgs <- curArgs tail
 					}
 				}
+				while: { not: (curArgs empty?) } do: {
+					str <- str . " " . (curArgs value)
+					curArgs <- curArgs tail
+				}
 				str
 			}
 		}