mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-29 08:43:07 +02:00
* basic parsing for bodies of C programs
git-svn-id: trunk@948 -
This commit is contained in:
parent
a02c5b9f45
commit
d94fa751e0
@ -2,71 +2,77 @@ unit converu;
|
|||||||
|
|
||||||
interface
|
interface
|
||||||
|
|
||||||
const TYPEDEF = 257;
|
const _WHILE = 257;
|
||||||
const DEFINE = 258;
|
const _FOR = 258;
|
||||||
const COLON = 259;
|
const _DO = 259;
|
||||||
const SEMICOLON = 260;
|
const _GOTO = 260;
|
||||||
const COMMA = 261;
|
const _CONTINUE = 261;
|
||||||
const LKLAMMER = 262;
|
const _BREAK = 262;
|
||||||
const RKLAMMER = 263;
|
const TYPEDEF = 263;
|
||||||
const LECKKLAMMER = 264;
|
const DEFINE = 264;
|
||||||
const RECKKLAMMER = 265;
|
const COLON = 265;
|
||||||
const LGKLAMMER = 266;
|
const SEMICOLON = 266;
|
||||||
const RGKLAMMER = 267;
|
const COMMA = 267;
|
||||||
const STRUCT = 268;
|
const LKLAMMER = 268;
|
||||||
const UNION = 269;
|
const RKLAMMER = 269;
|
||||||
const ENUM = 270;
|
const LECKKLAMMER = 270;
|
||||||
const ID = 271;
|
const RECKKLAMMER = 271;
|
||||||
const NUMBER = 272;
|
const LGKLAMMER = 272;
|
||||||
const CSTRING = 273;
|
const RGKLAMMER = 273;
|
||||||
const SHORT = 274;
|
const STRUCT = 274;
|
||||||
const UNSIGNED = 275;
|
const UNION = 275;
|
||||||
const LONG = 276;
|
const ENUM = 276;
|
||||||
const INT = 277;
|
const ID = 277;
|
||||||
const REAL = 278;
|
const NUMBER = 278;
|
||||||
const _CHAR = 279;
|
const CSTRING = 279;
|
||||||
const VOID = 280;
|
const SHORT = 280;
|
||||||
const _CONST = 281;
|
const UNSIGNED = 281;
|
||||||
const _FAR = 282;
|
const LONG = 282;
|
||||||
const _HUGE = 283;
|
const INT = 283;
|
||||||
const _NEAR = 284;
|
const REAL = 284;
|
||||||
const _ASSIGN = 285;
|
const _CHAR = 285;
|
||||||
const NEW_LINE = 286;
|
const VOID = 286;
|
||||||
const SPACE_DEFINE = 287;
|
const _CONST = 287;
|
||||||
const EXTERN = 288;
|
const _FAR = 288;
|
||||||
const STDCALL = 289;
|
const _HUGE = 289;
|
||||||
const CDECL = 290;
|
const _NEAR = 290;
|
||||||
const CALLBACK = 291;
|
const NEW_LINE = 291;
|
||||||
const PASCAL = 292;
|
const SPACE_DEFINE = 292;
|
||||||
const WINAPI = 293;
|
const EXTERN = 293;
|
||||||
const APIENTRY = 294;
|
const STDCALL = 294;
|
||||||
const WINGDIAPI = 295;
|
const CDECL = 295;
|
||||||
const SYS_TRAP = 296;
|
const CALLBACK = 296;
|
||||||
const _PACKED = 297;
|
const PASCAL = 297;
|
||||||
const ELLIPSIS = 298;
|
const WINAPI = 298;
|
||||||
const R_AND = 299;
|
const APIENTRY = 299;
|
||||||
const EQUAL = 300;
|
const WINGDIAPI = 300;
|
||||||
const UNEQUAL = 301;
|
const SYS_TRAP = 301;
|
||||||
const GT = 302;
|
const _PACKED = 302;
|
||||||
const LT = 303;
|
const ELLIPSIS = 303;
|
||||||
const GTE = 304;
|
const _ASSIGN = 304;
|
||||||
const LTE = 305;
|
const R_AND = 305;
|
||||||
const QUESTIONMARK = 306;
|
const EQUAL = 306;
|
||||||
const _OR = 307;
|
const UNEQUAL = 307;
|
||||||
const _AND = 308;
|
const GT = 308;
|
||||||
const _PLUS = 309;
|
const LT = 309;
|
||||||
const MINUS = 310;
|
const GTE = 310;
|
||||||
const _SHR = 311;
|
const LTE = 311;
|
||||||
const _SHL = 312;
|
const QUESTIONMARK = 312;
|
||||||
const STAR = 313;
|
const _OR = 313;
|
||||||
const _SLASH = 314;
|
const _AND = 314;
|
||||||
const _NOT = 315;
|
const _PLUS = 315;
|
||||||
const PSTAR = 316;
|
const MINUS = 316;
|
||||||
const P_AND = 317;
|
const _SHR = 317;
|
||||||
const POINT = 318;
|
const _SHL = 318;
|
||||||
const DEREF = 319;
|
const STAR = 319;
|
||||||
const STICK = 320;
|
const _SLASH = 320;
|
||||||
const SIGNED = 321;
|
const _NOT = 321;
|
||||||
|
const PSTAR = 322;
|
||||||
|
const P_AND = 323;
|
||||||
|
const POINT = 324;
|
||||||
|
const DEREF = 325;
|
||||||
|
const STICK = 326;
|
||||||
|
const SIGNED = 327;
|
||||||
|
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
File diff suppressed because it is too large
Load Diff
5643
utils/h2pas/h2pas.y
5643
utils/h2pas/h2pas.y
File diff suppressed because it is too large
Load Diff
1697
utils/h2pas/scan.l
1697
utils/h2pas/scan.l
File diff suppressed because it is too large
Load Diff
5534
utils/h2pas/scan.pas
5534
utils/h2pas/scan.pas
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user