"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/reducer.h" between
ragel-7.0.0.10.tar.gz and ragel-7.0.0.11.tar.gz

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

reducer.h  (ragel-7.0.0.10):reducer.h  (ragel-7.0.0.11)
/* /*
* Copyright 2001-2006 Adrian Thurston <thurston@colm.net> * Copyright 2001-2018 Adrian Thurston <thurston@colm.net>
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to * of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the * deal in the Software without restriction, including without limitation the
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
* sell copies of the Software, and to permit persons to whom the Software is * sell copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions: * furnished to do so, subject to the following conditions:
* *
* The above copyright notice and this permission notice shall be included in al l * The above copyright notice and this permission notice shall be included in al l
* copies or substantial portions of the Software. * copies or substantial portions of the Software.
skipping to change at line 103 skipping to change at line 103
const char *targetMachine; const char *targetMachine;
const char *searchMachine; const char *searchMachine;
ActionParamList *paramList; ActionParamList *paramList;
bool success; bool success;
/* Generated and called by colm. */ /* Generated and called by colm. */
void commit_reduce_forward( program_t *prg, tree_t **root, void commit_reduce_forward( program_t *prg, tree_t **root,
struct pda_run *pda_run, parse_tree_t *pt ); struct pda_run *pda_run, parse_tree_t *pt );
void read_reduce_forward( program_t *prg, FILE *file );
void loadMachineName( string data ); void loadMachineName( string data );
void tryMachineDef( const InputLoc &loc, std::string name, void tryMachineDef( const InputLoc &loc, std::string name,
MachineDef *machineDef, bool isInstance ); MachineDef *machineDef, bool isInstance );
long tryLongScan( const InputLoc &loc, const char *data ); long tryLongScan( const InputLoc &loc, const char *data );
void include( const InputLoc &incLoc, bool fileSpecified, string fileName , string machine ); void include( const InputLoc &incLoc, bool fileSpecified, string fileName , string machine );
void reduceFile( const char *inputFileName, bool import ); void reduceFile( const char *cmd, const char *inputFileName );
void import( const InputLoc &loc, std::string name, Literal *literal ); void import( const InputLoc &loc, std::string name, Literal *literal );
void importFile( std::string fileName ); void importFile( std::string fileName );
bool isImport; bool isImport;
}; };
#endif #endif
 End of changes. 3 change blocks. 
2 lines changed or deleted 3 lines changed or added

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