comparison lwbasic/lwbasic.h @ 31:574931d87abd

Created a function to prettyprint the current lexer token
author lost@l-w.ca
date Thu, 03 Feb 2011 21:28:24 -0700
parents 77626fc37af2
children 49d608aecc4d
comparison
equal deleted inserted replaced
30:bcd532a90e53 31:574931d87abd
95 extern void lwb_error(const char *fmt, ...); 95 extern void lwb_error(const char *fmt, ...);
96 #endif 96 #endif
97 97
98 #ifndef __lexer_c_seen__ 98 #ifndef __lexer_c_seen__
99 extern void lexer(cstate *state); 99 extern void lexer(cstate *state);
100 extern char *lexer_return_token(cstate *state);
100 #endif 101 #endif
101 102
102 #ifndef __emit_c_seen__ 103 #ifndef __emit_c_seen__
103 extern void emit_prolog(cstate *state, int vis, int framesize); 104 extern void emit_prolog(cstate *state, int vis, int framesize);
104 extern void emit_epilog(cstate *state, int framesize); 105 extern void emit_epilog(cstate *state, int framesize);