Skip to content
Snippets Groups Projects
Select Git revision
  • f86b0a5ad6f0abee8239a01c0f5da7ea72be18ac
  • master default
  • nlf-fixes
  • newton-quadratic-equation-solver
  • nlf-fixes-r
  • nls-fixes
  • sep-fixes
  • sep
  • use-dprior
  • ep-sparse
  • rebase-1
  • parfor
  • reset-seed-in-unit-tests
  • remove-persistent-variables
  • nonlinear-filter-fixes
  • pac-mce-with-composite-target
  • 6.x
  • dprior
  • covariance-quadratic-approximation
  • benchmark-ec
  • kalman_mex
  • 5.5
  • 5.4
  • 5.3
  • 5.2
  • 5.1
  • 5.0
  • 5.0-rc1
  • 4.7-beta3
  • 4.7-beta2
  • 4.7-beta1
  • 4.6.4
  • 4.6.3
  • 4.6.2
  • 4.6.1
  • 4.6.0
  • 4.6.0-rc2
  • 4.6.0-rc1
  • 4.6-beta1
  • 4.5.7
  • 4.5.6
41 results

autoregressive_process_specification.m

Blame
  • Forked from Dynare / dynare
    Source project has a limited visibility.
    assign.lex 794 B
    %{
    #include "location.h"
    #include "assign_tab.hh"
    
    	extern YYLTYPE asgn_lloc;
    
    #define YY_USER_ACTION SET_LLOC(asgn_);
    %}
    
    %option nounput
    %option noyy_top_state
    %option stack
    %option yylineno
    %option prefix="asgn_"
    %option never-interactive
    %x CMT
    
    %%
    
     /* comments */
    <*>"/*"            {yy_push_state(CMT);}
    <CMT>[^*\n]*
    <CMT>"*"+[^*/\n]*
    <CMT>"*"+"/"       {yy_pop_state();}
    <CMT>[\n]
    "//".*\n
    
     /* spaces */
    [ \t\r\n]          {return BLANK;}
    
     /* names */
    [A-Za-z_][A-Za-z0-9_]* {
    	asgn_lval.string = asgn_text;
    	return NAME;
    }
    
    ;                  {return SEMICOLON;}
    =                  {return EQUAL_SIGN;}
    . {
    	asgn_lval.character = asgn_text[0];
    	return CHARACTER;
    }
    
    %%
    
    int asgn_wrap()
    {
    	return 1;
    }
    
    void asgn__destroy_buffer(void* p)
    {
    	asgn__delete_buffer((YY_BUFFER_STATE)p);
    }