Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 582606
Collapse All | Expand All

(-)ragel-6.9/ragel/common.cpp (-3 / +3 lines)
Lines 34-40 Link Here
34
	{ "int",      0,       "int",     true,   true,  false,  INT_MIN,   INT_MAX,    sizeof(int) },
34
	{ "int",      0,       "int",     true,   true,  false,  INT_MIN,   INT_MAX,    sizeof(int) },
35
	{ "unsigned", "int",   "uint",    false,  true,  false,  0,         UINT_MAX,   sizeof(unsigned int) },
35
	{ "unsigned", "int",   "uint",    false,  true,  false,  0,         UINT_MAX,   sizeof(unsigned int) },
36
	{ "long",     0,       "long",    true,   true,  false,  LONG_MIN,  LONG_MAX,   sizeof(long) },
36
	{ "long",     0,       "long",    true,   true,  false,  LONG_MIN,  LONG_MAX,   sizeof(long) },
37
	{ "unsigned", "long",  "ulong",   false,  true,  false,  0,         ULONG_MAX,  sizeof(unsigned long) }
37
	{ "unsigned", "long",  "ulong",   false,  true,  false,  0,         (long long)ULONG_MAX,  sizeof(unsigned long) }
38
};
38
};
39
39
40
#define S8BIT_MIN  -128
40
#define S8BIT_MIN  -128
Lines 87-93 Link Here
87
	{ "int32",   0,  "int32",   true,   true,  false,  S32BIT_MIN, S32BIT_MAX,  4 },
87
	{ "int32",   0,  "int32",   true,   true,  false,  S32BIT_MIN, S32BIT_MAX,  4 },
88
	{ "uint32",  0,  "uint32",  false,  true,  false,  U32BIT_MIN, U32BIT_MAX,  4 },
88
	{ "uint32",  0,  "uint32",  false,  true,  false,  U32BIT_MIN, U32BIT_MAX,  4 },
89
	{ "int64",   0,  "int64",   true,   true,  false,  S64BIT_MIN, S64BIT_MAX,  8 },
89
	{ "int64",   0,  "int64",   true,   true,  false,  S64BIT_MIN, S64BIT_MAX,  8 },
90
	{ "uint64",  0,  "uint64",  false,  true,  false,  U64BIT_MIN, U64BIT_MAX,  8 },
90
	{ "uint64",  0,  "uint64",  false,  true,  false,  U64BIT_MIN, (long long)U64BIT_MAX,  8 },
91
	{ "rune",    0,  "int32",   true,   true,  true,   S32BIT_MIN, S32BIT_MAX,  4 }
91
	{ "rune",    0,  "int32",   true,   true,  true,   S32BIT_MIN, S32BIT_MAX,  4 }
92
};
92
};
93
93
Lines 116-122 Link Here
116
	{ "int",     0,  "int",     true,   true,  false,  INT_MIN,   INT_MAX,     4 },
116
	{ "int",     0,  "int",     true,   true,  false,  INT_MIN,   INT_MAX,     4 },
117
	{ "uint",    0,  "uint",    false,  true,  false,  0,         UINT_MAX,    4 },
117
	{ "uint",    0,  "uint",    false,  true,  false,  0,         UINT_MAX,    4 },
118
	{ "long",    0,  "long",    true,   true,  false,  LONG_MIN,  LONG_MAX,    8 },
118
	{ "long",    0,  "long",    true,   true,  false,  LONG_MIN,  LONG_MAX,    8 },
119
	{ "ulong",   0,  "ulong",   false,  true,  false,  0,         ULONG_MAX,   8 }
119
	{ "ulong",   0,  "ulong",   false,  true,  false,  0,         (long long)ULONG_MAX,   8 }
120
};
120
};
121
121
122
HostType hostTypesOCaml[] =
122
HostType hostTypesOCaml[] =
(-)ragel-6.9/ragel/rbxgoto.cpp (-1 / +1 lines)
Lines 658-664 Link Here
658
	out <<
658
	out <<
659
		"	begin\n"
659
		"	begin\n"
660
		"		" << P() << " += 1\n"
660
		"		" << P() << " += 1\n"
661
		"		" << rbxGoto(ret, "_out") << "\n" 
661
		"		" << (const string&)rbxGoto(ret, "_out") << "\n" 
662
		"	end\n";
662
		"	end\n";
663
}
663
}
664
664

Return to bug 582606