From: Ben Pfaff Date: Sun, 30 May 2021 20:31:39 +0000 (-0700) Subject: segment: Refine treatment of start of macro body. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=74709d3f6d7c102bb3226f7f132c8be78ce8e8c2;hp=74709d3f6d7c102bb3226f7f132c8be78ce8e8c2;p=pspp segment: Refine treatment of start of macro body. Previously, if the first line of the macro body (the same line as the closing parenthesis in the DEFINE) was blank, we reported it as a blank line to the lexer. The parser for DEFINE could check for that (by seeing whether the first line of macro body was empty or all-spaces) but it seems more elegant to do it in the segmenter. This implements that. ---