X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=tools%2Ftilemanager%2FParser.cs;h=6a70eeff43a0e1901822c3e086828cb62556387b;hb=99d3aa1d55bf421525b4265913f64ee3680af864;hp=163a75e10813f7630e872bd635e816c2342093fb;hpb=ae48931792caf6b9b55a130c9c445e83b297e04c;p=supertux.git diff --git a/tools/tilemanager/Parser.cs b/tools/tilemanager/Parser.cs index 163a75e10..6a70eeff4 100644 --- a/tools/tilemanager/Parser.cs +++ b/tools/tilemanager/Parser.cs @@ -63,6 +63,14 @@ public class Parser { return true; } + public static void ParseIntList(Parser parser, System.Collections.Generic.List intList) { + int d = parser.Depth; + while(parser.Depth >= d) { + intList.Add(parser.IntegerValue); + parser.Parse(); + } + } + private LispType type; public LispType Type { get { return type; }