comparison lwbasic/lexer.c @ 33:890a8f688889

Basic parsing of local variable decls
author lost@l-w.ca
date Thu, 03 Feb 2011 22:15:57 -0700
parents 574931d87abd
children bfea77812e64
comparison
equal deleted inserted replaced
32:49d608aecc4d 33:890a8f688889
56 { "params", token_kw_params }, 56 { "params", token_kw_params },
57 { "returns", token_kw_returns }, 57 { "returns", token_kw_returns },
58 { "integer", token_kw_integer }, 58 { "integer", token_kw_integer },
59 { "endsub", token_kw_endsub }, 59 { "endsub", token_kw_endsub },
60 { "endfunction", token_kw_endfunction }, 60 { "endfunction", token_kw_endfunction },
61 { "dim", token_kw_dim },
61 { NULL } 62 { NULL }
62 }; 63 };
63 64
64 static int lexer_getchar(cstate *state) 65 static int lexer_getchar(cstate *state)
65 { 66 {