Michiel Van Der Kolk | 4350eec | 2005-04-28 14:06:20 +0000 | [diff] [blame] | 1 | /*************************************************************************** |
| 2 | * __________ __ ___. |
| 3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ |
| 4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / |
| 5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < |
| 6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ |
| 7 | * \/ \/ \/ \/ \/ |
| 8 | * $Id$ |
| 9 | * |
| 10 | * Copyright (C) 2005 by Michiel van der Kolk |
| 11 | * |
| 12 | * All files in this archive are subject to the GNU General Public License. |
| 13 | * See the file COPYING in the source tree root for full license agreement. |
| 14 | * |
| 15 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY |
| 16 | * KIND, either express or implied. |
| 17 | * |
| 18 | ****************************************************************************/ |
Michiel Van Der Kolk | 29909a3 | 2005-04-28 14:48:12 +0000 | [diff] [blame] | 19 | extern struct token *currentToken; |
Michiel Van Der Kolk | 9369d48 | 2005-04-28 12:33:38 +0000 | [diff] [blame] | 20 | extern int syntaxerror; |
| 21 | extern char errormsg[250]; |
| 22 | |
Michiel Van Der Kolk | 29909a3 | 2005-04-28 14:48:12 +0000 | [diff] [blame] | 23 | unsigned char *parse(int fd); |
Michiel Van Der Kolk | 9369d48 | 2005-04-28 12:33:38 +0000 | [diff] [blame] | 24 | void parser_acceptIt(void); |
| 25 | int parser_accept(unsigned char kind); |
| 26 | unsigned char *parseCompareNum(void); |
| 27 | unsigned char *parseCompareString(void); |
| 28 | unsigned char *parseExpr(void); |
| 29 | unsigned char *parseMExpr(void); |
Michiel Van Der Kolk | 388d9ff | 2005-04-28 21:28:42 +0000 | [diff] [blame^] | 30 | unsigned char *parseLExpr(void); |