Received: from list by lists.gnu.org with archive (Exim 4.71) id 1cyMxJ-0008TF-Ov for mharc-grub-devel@gnu.org; Wed, 12 Apr 2017 14:25:25 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cyMxH-0008Sy-MN for grub-devel@gnu.org; Wed, 12 Apr 2017 14:25:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cyMxD-0001nI-O3 for grub-devel@gnu.org; Wed, 12 Apr 2017 14:25:23 -0400 Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]:33728) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cyMxD-0001mn-9G for grub-devel@gnu.org; Wed, 12 Apr 2017 14:25:19 -0400 Received: by mail-wm0-x22a.google.com with SMTP id y18so505472wmh.0 for ; Wed, 12 Apr 2017 11:25:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=GQVU9J32+sgRvkQkLATCiHRHCNqX5/UWVQoORACZ7ZU=; b=N8ENWomb86AV3wICS5i3grWbY7Z2RNOvOO0HV4m0u/vWWq9I4vabX9MAZOM9NO+P7a c+PKjHJgwOg+OaTCm/FqrSnjLVfFEGhG9uqc2MIH3V6aszGMpigAo9gJFA/gZlfCGa8X eIV0afKxjA/NeHF6bSVX7qFyKUPj3I1qcySunX1Zrq8dvs7buqyHWVDSYUvYdbN1JsVP yWe/HBgkI3fxT35UOjP9LvcbPM7FZQeRjEN/z32iMe55zJEF0yvjnnvgSgt5itnA7zsb Tb6wNvPi6WKYZdFrKZ0XH7CHyGAQ+X18A1fVPV2f3DrjledHAP5aVtSgMlPGZUEoubUv 4tyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=GQVU9J32+sgRvkQkLATCiHRHCNqX5/UWVQoORACZ7ZU=; b=aquiCLiH1C36z4veVVC3OFn3jfC+FIbklWB+njYBoWdUO/WvJhkO1aw9tWX/CvtC6H CZOqamFLjO/uzN1wzcaI0mOIMBMZBqfCyQxzmJoG7VTRY+PkmcM8uB9FyVk5gtHa3y78 aw2SpfiE6+pIyjZoSxm5sMUGTho2CKSS4GM/LQR3IZUvxSJyR+zKYF7AqSUVOQy++36C 1RRA/kUxKrAr3gPMl28QM8JIM+YUw/x/FV/OsBNrRj6S1QD5s/5MyxtmaBIqPYMahLO2 0mzhN+xsemZ/uer9Lat6AL87qa2Bd6llOR5bbZH/siVcH/NvVkn0LsIjlHoBzIay41+K 9Muw== X-Gm-Message-State: AN3rC/5UCrPXvH8Mbqgnsw90KQtJy5MbMbeOxdR/1avUYRpYW4rNR3cYOrmZg6euamR1AQ== X-Received: by 10.28.47.15 with SMTP id v15mr4133493wmv.116.1492021517968; Wed, 12 Apr 2017 11:25:17 -0700 (PDT) Received: from [192.168.254.200] (82-69-89-171.dsl.in-addr.zen.co.uk. [82.69.89.171]) by smtp.googlemail.com with ESMTPSA id o71sm11269410wrb.47.2017.04.12.11.25.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Apr 2017 11:25:17 -0700 (PDT) Subject: Re: Contributions To: grub-devel@gnu.org References: From: Nicole Message-ID: Date: Wed, 12 Apr 2017 19:25:16 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22a X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Apr 2017 18:25:24 -0000 I've looked carefully at both the parser and the lexer. It's a long while since I've used either of these tools, but I can find no reference to anything that does arithmetic. The only instance of plus signs that I can find are in the regular expressions and in the C code. There appears to be no provision to recognise a "$((" - the parser seems to expect only a variable name (with or without enclosing braces). "$[" is used for arrays in bash - in any case the lexer doesn't recognise it. Nicole