handle-define ( preprocessor-state sequence-parser -- )


Vocabulary
c.preprocessor

Inputs
preprocessor-statean object
sequence-parseran object


Outputs
None

Definition


:: handle-define ( preprocessor-state sequence-parser -- )
sequence-parser take-define-identifier :> ident
sequence-parser skip-whitespace/comments take-rest :> def
def "\\" ?tail [ readlns append ] when
:> def def ident preprocessor-state symbol-table>> set-at ;