NPLMono.NPLLex.readname C# (CSharp) Method

readname() public static method

public static readname ( LexState LS ) : int
LS LexState
return int
        public static int readname(LexState LS)
        {
            int l = 0;
            checkbuffer(LS, l);
            do
            {
                checkbuffer(LS, l);
                save_and_next(LS, ref l);
            } while (Char.IsLetterOrDigit((char)LS.current) || LS.current == '_');
            save(LS, '\0', ref l);
            return l - 1;
        }