Changeset 458


Ignore:
Timestamp:
Jul 10, 2010, 10:35:56 AM (9 years ago)
Author:
cameron
Message:

Add enum keyword

Location:
proto/parabix2/compiled
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2/compiled/xml_error.c

    r424 r458  
    88#include "xml_error.h"
    99
    10 void ShowConstraintError(XML_Constraint errCode) {
     10void ShowConstraintError(enum XML_Constraint errCode) {
    1111        if (errCode < vErr_vc_roottype) {
    1212                fprintf(stderr, "Violation of well-formedness constraint: %s\n", XML_Constraint_Strings[errCode]);
     
    1919}
    2020
    21 void ShowSyntaxError(XML_NonTerminal errCode) {
     21void ShowSyntaxError(enum XML_NonTerminal errCode) {
    2222        fprintf(stderr, "Syntax error in production: %s\n", XML_NonTerminal_Names[errCode]);
    2323}
  • proto/parabix2/compiled/xml_error.h

    r424 r458  
    270270                "Extender  [89]"};
    271271
    272 void ShowConstraintError(XML_Constraint errCode);
    273 
    274 void ShowSyntaxError(XML_NonTerminal errCode);
     272void ShowConstraintError(enum XML_Constraint errCode);
     273
     274void ShowSyntaxError(enum XML_NonTerminal errCode);
    275275
    276276void NoEncodingError(char * msg);
Note: See TracChangeset for help on using the changeset viewer.