nseel-yylex.c 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. Expression Evaluator Library (NS-EEL)
  3. Copyright (C) 2004-2013 Cockos Incorporated
  4. Copyright (C) 1999-2003 Nullsoft, Inc.
  5. nseel-yylex.c
  6. This software is provided 'as-is', without any express or implied
  7. warranty. In no event will the authors be held liable for any damages
  8. arising from the use of this software.
  9. Permission is granted to anyone to use this software for any purpose,
  10. including commercial applications, and to alter it and redistribute it
  11. freely, subject to the following restrictions:
  12. 1. The origin of this software must not be misrepresented; you must not
  13. claim that you wrote the original software. If you use this software
  14. in a product, an acknowledgment in the product documentation would be
  15. appreciated but is not required.
  16. 2. Altered source versions must be plainly marked as such, and must not be
  17. misrepresented as being the original software.
  18. 3. This notice may not be removed or altered from any source distribution.
  19. */
  20. #include "ns-eel-int.h"
  21. # define YYMALLOC malloc
  22. # define YYFREE free
  23. int nseellex(void * yylval_param,void * yylloc_param ,void *yyscanner);
  24. void nseelerror(void *pos,compileContext *ctx, const char *str);
  25. #include <stdlib.h>
  26. #include <string.h>
  27. #include "y.tab.c"