Top 10k strings from commandl.l
in <root> / bin / pc / Emulators / fuse-hc2000-hacks.7z / src / fuse / debugger /
Back to the directory listing
3 if( YY_START == COMMANDSTATE1 ) BEGIN( COMMANDSTATE2 ); 2 return NUMBER; } 2 return COMPARISON; } 2 return DEBUGGER_REGISTER; } 2 return DEBUGGER_REGISTER; } 2 yylval.reg = debugger_register_hash( yytext ); 1 { yylval.token = DEBUGGER_TOKEN_NOT_EQUAL_TO; 1 { yylval.token = DEBUGGER_TOKEN_LESS_THAN_OR_EQUAL_TO; 1 { yylval.token = DEBUGGER_TOKEN_GREATER_THAN_OR_EQUAL_TO; 1 { yylval.token = DEBUGGER_TOKEN_EQUAL_TO; return EQUALITY; } 1 { yylval.token = '~'; return NEGATE; } 1 { yylval.token = '>'; return COMPARISON; } 1 { yylval.token = '<'; return COMPARISON; } 1 { yylval.token = '/'; return TIMES_DIVIDE; } 1 { yylval.token = '*'; return TIMES_DIVIDE; } 1 { yylval.token = '!'; return NEGATE; } 1 { yylval.string = mempool_strdup( debugger_memory_pool, yytext + 1 ); return VARIABLE; } 1 { yylval.string = mempool_strdup( debugger_memory_pool, yytext ); return STRING; } 1 { yylval.integer = strtol( yytext+2, NULL, 16 ); 1 { yylval.integer = strtol( yytext+1, NULL, 16 ); 1 { yylval.integer = atoi( yytext ); 1 { return LOGICAL_OR; } 1 { return LOGICAL_AND; } 1 { return '|'; } 1 { return '^'; } 1 { return '\n'; } 1 { return ':'; } 1 { return '-'; } 1 { return '+'; } 1 { return ')'; } 1 { return '('; } 1 { return '&'; } 1 { if( 0 ) unput( '\0' ); /* Prevent warning about yyunput 1 w|wr|wri|writ|write { return WRITE; } 1 t|tb|tbr|tbre|tbrea|tbreak|tbreakp|tbreakpo|tbreakpoi|tbreakpoin|tbreakpoint { 1 ti|tim|time { return TIME; } 1 s|st|ste|step { return STEP; } 1 sp|pc|ix|iy { yylval.reg = debugger_register_hash( yytext ); 1 se|set { return SET; } 1 r|re|rea|read { return READ; } 1 p|po|por|port { return PORT; } 1 pr|pri|prin|print { return DEBUGGER_PRINT; } 1 o|ou|out { return DEBUGGER_OUT; } 1 n|ne|nex|next { return NEXT; } 1 i|ig|ign|igno|ignor|ignore { return DEBUGGER_IGNORE; } 1 im|iff1|iff2 { yylval.reg = debugger_register_hash( yytext ); 1 if { return IF; } 1 fi|fin|fini|finis|finish { return FINISH; } 1 ex|exi|exit { return EXIT; } 1 ev|eve|even|event { return EVENT; } 1 end { BEGIN(INITIAL); return DEBUGGER_END; } 1 di|dis|disa|disas|disass|disasse|disassm|disassmb|diasassmbl|disassemble { 1 del|dele|delet|delete { return DEBUGGER_DELETE; } 1 co|con|cont|contin|continu|continue { return CONTINUE; } 1 cond|condi|condit|conditi|conditio|condition { return CONDITION; } 1 com|comm|comma|comman|command|commands { BEGIN(COMMANDSTATE1); return COMMANDS; } 1 cl|cle|clea|clear { return CLEAR; } 1 br|bre|brea|break|breakp|breakpo|breakpoi|breakpoin|breakpoint { return BREAK;} 1 ba|bas|base { return BASE; } 1 a|b|c|d|e|f|h|l { yylval.reg = debugger_register_hash( yytext ); 1 af|bc|de|hl|"af\'"|"bc\'"|"de\'"|"hl\'" { 1 \n { return '\n'; } 1 [a-z][a-z0-9]+ 1 [^\n]* { yylval.string = mempool_strdup( debugger_memory_pool, yytext ); return STRING; } 1 [[:digit:]]+ 1 <COMMANDSTATE2>{ 1 0x[[:xdigit:]]+ 1 /* commandl.l: Debugger command lexical scanner 1 /* Swallow whitespace */ 1 /* Different name to avoid clashing 1 %x COMMANDSTATE2 1 %s COMMANDSTATE1 1 %option caseless 1 $[[:xdigit:]]+ 1 #include <ctype.h> 1 #include <config.h> 1 #include "mempool.h" 1 #include "debugger_internals.h" 1 #include "debugger.h" 1 #include "commandy.h" 1 #define YY_NO_INPUT 1 #define YY_INPUT(buf,result,max_size) \ 1 "a'"|"b'"|"c'"|"d'"|"e'"|"f'"|"h'"|"l'" { 1 /* The hex constants used here are the appropriate Unicode characters */ 1 /* Debugger command parsing */ 1 return EQUALITY; } 1 return DEBUGGER_REGISTER; } 1 return DEBUGGER_ERROR; } 1 result = (yy_size_t)retval; \ 1 int retval; \ 1 if( !debugger_command_input( buf, &retval, max_size ) ) retval = YY_NULL; \ 1 with this program; if not, write to the Free Software Foundation, Inc., 1 with OUT from z80/z80_macros.h */ 1 the Free Software Foundation; either version 2 of the License, or 1 it under the terms of the GNU General Public License as published by 1 but WITHOUT ANY WARRANTY; without even the implied warranty of 1 You should have received a copy of the GNU General Public License along 1 This program is free software; you can redistribute it and/or modify 1 This program is distributed in the hope that it will be useful, 1 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1 GNU General Public License for more details. 1 E-mail: [email protected] 1 Copyright (c) 2002-2008 Philip Kendall 1 Author contact information: 1 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 1 (at your option) any later version. 1 being defined and not used */ 1 return TBREAK; } 1 return NUMBER; } 1 return DISASSEMBLE; }