?login_element?

Subversion Repositories NedoOS

Rev

Rev 129 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download

  1. /*
  2.  
  3.   SjASMPlus Z80 Cross Compiler
  4.  
  5.   This is modified sources of SjASM by Aprisobal - aprisobal@tut.by
  6.  
  7.   Copyright (c) 2005 Sjoerd Mastijn
  8.  
  9.   This software is provided 'as-is', without any express or implied warranty.
  10.   In no event will the authors be held liable for any damages arising from the
  11.   use of this software.
  12.  
  13.   Permission is granted to anyone to use this software for any purpose,
  14.   including commercial applications, and to alter it and redistribute it freely,
  15.   subject to the following restrictions:
  16.  
  17.   1. The origin of this software must not be misrepresented; you must not claim
  18.          that you wrote the original software. If you use this software in a product,
  19.          an acknowledgment in the product documentation would be appreciated but is
  20.          not required.
  21.  
  22.   2. Altered source versions must be plainly marked as such, and must not be
  23.          misrepresented as being the original software.
  24.  
  25.   3. This notice may not be removed or altered from any source distribution.
  26.  
  27. */
  28.  
  29. // parser.h
  30.  
  31. int ParseExpression(char*& lp, aint& val);
  32. int ParseExpressionNoSyntaxError(char*& lp, aint& val);
  33.  
  34. // returns 0 on syntax error, 1 on expression which is not enclosed in parentheses
  35. // 2 when whole expression is in [] or () (--syntax=b/B affects when "2" is reported)
  36. int ParseExpressionMemAccess(char*& p, aint& nval);
  37.  
  38. void ParseAlignArguments(char* & src, aint & alignment, aint & fill);
  39. int ParseDirective(bool beginningOfLine = 0);
  40. int ParseDirective_REPT();
  41. void ParseInstruction();
  42. char* ReplaceDefine(char* lp);
  43. void SetLastParsedLabel(const char* label);
  44. void ParseLine(bool = true);
  45. void ParseLineSafe(bool = true);
  46. void ParseStructLine(CStructure* st);
  47. uint32_t LuaCalculate(char *str);
  48. void LuaParseLine(char *str);
  49. void LuaParseCode(char *str);
  50. //eof parser.h
  51.  
  52.