aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/CodeTools/lsl.parser.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/CodeTools/lsl.parser.cs43
1 files changed, 8 insertions, 35 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/lsl.parser.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/lsl.parser.cs
index 2f9a829..bfc1afc 100644
--- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/lsl.parser.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/lsl.parser.cs
@@ -1,30 +1,3 @@
1/*
2 * Copyright (c) Contributors, http://opensimulator.org/
3 * See CONTRIBUTORS.TXT for a full list of copyright holders.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met:
7 * * Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * * Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution.
12 * * Neither the name of the OpenSim Project nor the
13 * names of its contributors may be used to endorse or promote products
14 * derived from this software without specific prior written permission.
15 *
16 * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY
17 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19 * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
20 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */
27
28using System;using Tools; 1using System;using Tools;
29namespace OpenSim.Region.ScriptEngine.Shared.CodeTools { 2namespace OpenSim.Region.ScriptEngine.Shared.CodeTools {
30//%+LSLProgramRoot+95 3//%+LSLProgramRoot+95
@@ -1304,24 +1277,24 @@ public class ReturnStatement_2 : ReturnStatement {
1304 public ReturnStatement_2(Parser yyq):base(yyq){}} 1277 public ReturnStatement_2(Parser yyq):base(yyq){}}
1305 1278
1306public class Constant_1 : Constant { 1279public class Constant_1 : Constant {
1307 public Constant_1(Parser yyq):base(yyq,"integer", "new LSL_Types.LSLInteger("+ 1280 public Constant_1(Parser yyq):base(yyq,"integer",
1308 ((INTEGER_CONSTANT)(yyq.StackAt(0).m_value)) 1281 ((INTEGER_CONSTANT)(yyq.StackAt(0).m_value))
1309 .yytext+")"){}} 1282 .yytext){}}
1310 1283
1311public class Constant_2 : Constant { 1284public class Constant_2 : Constant {
1312 public Constant_2(Parser yyq):base(yyq,"integer", "new LSL_Types.LSLInteger("+ 1285 public Constant_2(Parser yyq):base(yyq,"integer",
1313 ((HEX_INTEGER_CONSTANT)(yyq.StackAt(0).m_value)) 1286 ((HEX_INTEGER_CONSTANT)(yyq.StackAt(0).m_value))
1314 .yytext+")"){}} 1287 .yytext){}}
1315 1288
1316public class Constant_3 : Constant { 1289public class Constant_3 : Constant {
1317 public Constant_3(Parser yyq):base(yyq,"float", "new LSL_Types.LSLFloat("+ 1290 public Constant_3(Parser yyq):base(yyq,"float",
1318 ((FLOAT_CONSTANT)(yyq.StackAt(0).m_value)) 1291 ((FLOAT_CONSTANT)(yyq.StackAt(0).m_value))
1319 .yytext+")"){}} 1292 .yytext){}}
1320 1293
1321public class Constant_4 : Constant { 1294public class Constant_4 : Constant {
1322 public Constant_4(Parser yyq):base(yyq,"string", "new LSL_Types.LSLString(\""+ 1295 public Constant_4(Parser yyq):base(yyq,"string",
1323 ((STRING_CONSTANT)(yyq.StackAt(0).m_value)) 1296 ((STRING_CONSTANT)(yyq.StackAt(0).m_value))
1324 .yytext+"\")"){}} 1297 .yytext){}}
1325 1298
1326public class ListConstant_1 : ListConstant { 1299public class ListConstant_1 : ListConstant {
1327 public ListConstant_1(Parser yyq):base(yyq, 1300 public ListConstant_1(Parser yyq):base(yyq,