UilLexDef.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. /*
  2. * CDE - Common Desktop Environment
  3. *
  4. * Copyright (c) 1993-2012, The Open Group. All rights reserved.
  5. *
  6. * These libraries and programs are free software; you can
  7. * redistribute them and/or modify them under the terms of the GNU
  8. * Lesser General Public License as published by the Free Software
  9. * Foundation; either version 2 of the License, or (at your option)
  10. * any later version.
  11. *
  12. * These libraries and programs are distributed in the hope that
  13. * they will be useful, but WITHOUT ANY WARRANTY; without even the
  14. * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  15. * PURPOSE. See the GNU Lesser General Public License for more
  16. * details.
  17. *
  18. * You should have received a copy of the GNU Lesser General Public
  19. * License along with these librararies and programs; if not, write
  20. * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
  21. * Floor, Boston, MA 02110-1301 USA
  22. */
  23. /*
  24. * @OSF_COPYRIGHT@
  25. * COPYRIGHT NOTICE
  26. * Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.
  27. * ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for
  28. * the full copyright text.
  29. */
  30. /*
  31. * HISTORY
  32. */
  33. /* $XConsortium: UilLexDef.h /main/11 1995/07/14 09:34:58 drk $ */
  34. /*
  35. * (c) Copyright 1989, 1990, DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
  36. /*
  37. **++
  38. ** FACILITY:
  39. **
  40. ** User Interface Language Compiler (UIL)
  41. **
  42. ** ABSTRACT:
  43. **
  44. ** This include file defines the interface to the UIL lexical
  45. ** analyzer.
  46. **
  47. **--
  48. **/
  49. #ifndef UilLexDef_h
  50. #define UilLexDef_h
  51. /*
  52. ** Define flags to indicate whether certain characters are to be
  53. ** filtered in text output.
  54. */
  55. #define lex_m_filter_tab (1 << 0)
  56. /*
  57. ** Define the default character set. In Motif, the default character set is
  58. ** not isolatin1, but simply the null string, thus we must be able to
  59. ** distinguish the two.
  60. */
  61. #define lex_k_default_charset -1
  62. #define lex_k_userdefined_charset -2
  63. #define lex_k_fontlist_default_tag -3
  64. /*
  65. ** Since key_k_keyword_max_length assumes the length of the longest
  66. ** WML generated keyword, we need a new constant to define the
  67. ** longest allowable identifier. This length should not exceed
  68. ** URMMaxIndexLen. (CR 5566)
  69. */
  70. #define lex_k_identifier_max_length 31
  71. #endif /* UilLexDef_h */
  72. /* DON'T ADD STUFF AFTER THIS #endif */