From caa6e6a070280eb12ea4374947d3f42c73b58412 Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Mon, 13 Oct 2014 10:38:05 +1100 Subject: [PATCH] oceani: accept MULTI_STRING as well as STRING The scanner produces two types of strings - we need to accept them both. Signed-off-by: NeilBrown --- csrc/oceani.mdc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/csrc/oceani.mdc b/csrc/oceani.mdc index 784c680..8997785 100644 --- a/csrc/oceani.mdc +++ b/csrc/oceani.mdc @@ -726,6 +726,11 @@ an executable. $0->val.vtype = Vstr; string_parse(&$1, '\\', &$0->val.str, $0->val.tail); }$ + | MULTI_STRING ${ + $0 = new(val); + $0->val.vtype = Vstr; + string_parse(&$1, '\\', &$0->val.str, $0->val.tail); + }$ ###### print exec cases case Xval: -- 2.43.0