summaryrefslogtreecommitdiff
path: root/src/cparse/cparse_lex.l
AgeCommit message (Collapse)Author
2019-05-30T1334: Migration script runner rewriteJohn Estabrook
Use vyos-1x migration script runner.
2015-10-10vyatta-cfg: double quoted config values ending in \ are not reboot safeAlex Harpin
Configurations that contain double quoted values that ended in \ were causing parse errors on load / reboot, resulting in a failure to load the config file and an empty config. This commit adds extra logic to the lex parsing of the config file to catch this particular case whilst still allowing escaped quotes in the middle of quoted values. Bug #593 http://bugzilla.vyos.net/show_bug.cgi?id=593
2012-06-03Fix more load/commit memory leaksJohn Southworth
This fixes some more of the memory leaks in load and commit. Some still exist in the legacy cli_new/cli_parse code. Since that code is supposed to be rewritten such that it interfaces with the rewritten commit code in a clean way, these will not be fixed right now.
2010-12-03change boot-time config loading to use new implementation in backend.An-Cheng Huang
* add new boot-time config loading script that uses shell API to access backend directly, bypassing wrapper. * use new loadFile implementation in the backend to perform the actual "load" operation (without "commit"). this reduces the "pre-commit" load time by ~60%.
2010-11-12initial work to parse config file into data structure.An-Cheng Huang
2010-11-11continue config parser workAn-Cheng Huang
* add parser to package build. * add prefix, error handling, etc. * fix handling of empty and 1-char values in lex. * add API function.
2010-10-25initial lex/yacc config file parserAn-Cheng Huang