"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/host-c/main.cc" between
ragel-7.0.0.11.tar.gz and ragel-7.0.0.12.tar.gz

About: Ragel compiles executable finite state machines from regular languages (C, C++, Obj-C, C#, D, Java, Go and Ruby). Development version.

main.cc  (ragel-7.0.0.11):main.cc  (ragel-7.0.0.12)
skipping to change at line 24 skipping to change at line 24
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
#include "inputdata.h" #include "inputdata.h"
#include "asm.h"
extern struct colm_sections rlhc; extern struct colm_sections rlparseC;
extern struct colm_sections rlhcC;
const HostLang hostLangC_translated = { const HostLang hostLangC_translated =
"C", {
"-C", hostTypesC,
HostLang::C, 8,
hostTypesC, 8, 0,
hostTypesC+0,
true, true,
false, false, /* loopLabels */
"c",
&c_defaultOutFn,
&makeCodeGen,
Translated, Translated,
GotoFeature GotoFeature,
&makeCodeGen,
&defaultOutFnC,
&genLineDirectiveTrans
}; };
int main( int argc, const char **argv ) int main( int argc, const char **argv )
{ {
InputData id( &hostLangC_translated, &rlhc ); InputData id( &hostLangC_translated, &rlparseC, &rlhcC );
return id.rlhcMain( argc, argv ); return id.rlhcMain( argc, argv );
} }
 End of changes. 6 change blocks. 
14 lines changed or deleted 13 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)