diff options
author | László Németh <nemeth@numbertext.org> | 2019-03-12 23:11:39 +0100 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2019-03-13 07:40:36 +0100 |
commit | 8547a8d90af69104f4eb27137d39678b45d6d9d1 (patch) | |
tree | 936c8b1076ba12482c5e3e1bc65d6a943c3f7141 /sw/qa/uitest/librelogo | |
parent | d21aab7de8766e9575682f7f20f6449dbc9639e2 (diff) |
tdf#124035 LibreLogo: support starting colon in variable names
Regression from the commit 740b99783b5480fcd1e5fce7c1beb5967d015041
"tdf#120413 LibreLogo: handle complex Logo expressions".
Change-Id: Iaae54efacf86a03a6611c154a40068ed058d43e7
Reviewed-on: https://gerrit.libreoffice.org/69138
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'sw/qa/uitest/librelogo')
-rw-r--r-- | sw/qa/uitest/librelogo/compile.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/qa/uitest/librelogo/compile.py b/sw/qa/uitest/librelogo/compile.py index 79a297ef1593..28905a36b897 100644 --- a/sw/qa/uitest/librelogo/compile.py +++ b/sw/qa/uitest/librelogo/compile.py @@ -81,6 +81,7 @@ class LibreLogoCompileTest(UITestCase): # PROCEDURE WITH ARGUMENTS ("TO x y\nLABEL y\nEND\nx 25", "global x\ndef x(y):\n __checkhalt__()\n %s\n label(y)\n %s\n%s\nx(25)" % (((self.LS),)*3)), ("TO x :y :z\nLABEL :y + :z\nEND\nx 25 26", "global x\ndef x(_y, _z):\n __checkhalt__()\n %s\n label(_y + _z)\n %s\n%s\nx(25, 26)" % (((self.LS),)*3)), + ("TO x :y :z\nLABEL :y + :z\nEND\nx 25 :w", "global x\ndef x(_y, _z):\n __checkhalt__()\n %s\n label(_y + _z)\n %s\n%s\nx(25, _w)" % (((self.LS),)*3)), # UNICODE VARIABLE NAMES ("Erdős=1", "Erd__u__0151s=1"), # STRING CONSTANTS |